Re: [squid-users] Fwd: Squid compiled size

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Wed, 20 Nov 2013 00:28:16 -0700

On 11/20/2013 12:04 AM, Mohd Akhbar wrote:

> I compiled squid on Centos 6.2 64bit with
>
> ./configure --prefix=/usr --includedir=/usr/include
> --datadir=/usr/share --bindir=/usr/sbin --libexecdir=/usr/lib/squid
> --localstatedir=/var --sysconfdir=/etc/squid
>
> My compiled size for squid runtime in /usr/sbin/squid is 28mb but if
> i'm install squid from rpm contributed by Elizer its only 2mb (cant
> remember the exact size) but definitely different from mine. Is there
> any prob with my compiled method ? Is it ok with that 28mb ?

I suspect the RPM binary is stripped of debugging symbols. See "man
strip" for details. You can strip your own binary as well.

All other factors being equal, it is better to run non-stripped Squid
binaries so that it is easier for you to provide backtraces should Squid
crash and leave a core dump.

HTH,

Alex.
Received on Wed Nov 20 2013 - 07:28:22 MST

This archive was generated by hypermail 2.2.0 : Wed Nov 20 2013 - 12:00:04 MST