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

From: Jenny Lee <bodycare_5_at_live.com>
Date: Wed, 20 Nov 2013 09:55:09 +0000

> 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 ?

Better to run stripped on production machine and keep the unstripped in case of segfaults.

cp /usr/sbin/squid /usr/sbin/squid.debug
strip /usr/sbin/squid

should bring it to 2MB. If it crashes give squid.debug to gdb.

Jenny
Received on Wed Nov 20 2013 - 09:55:16 MST

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