squid-3.4.8_1 leaking memory

Dewayne Geraghty dewayne.geraghty at heuristicsystems.com.au
Fri Sep 26 04:38:16 UTC 2014


(Bottom-posted)
On 25/09/2014 3:48 PM, Brian W. wrote:
> You seem to be onto something. On a single user testbox I use I see this
>
>   PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME    WCPU
> COMMAND
>
>  6100 squid         1  20    0   612M 84076K kqread  1   4:01   0.00% squid
>
> I then restarted squid and saw
>
> 73400 squid         1  20    0 61568K 21456K kqread  0   0:00   0.00% squid
>
> I am on the i386 flavor of 10.0-RELEASE-p9
>
> On Wed, Sep 24, 2014 at 9:56 PM, Victor Sudakov <vas at mpeks.tomsk.su> wrote:
>
>> Colleagues,
>>
>> squid-3.4.8_1 seems to be leaking memory heavily. Its SIZE and RES are
>> growing several MB per minute until eventually swapping begins.
>>
>> Is anyone using it? Have you encountered this problem?
>>
>> The relevant entries in squid.conf are:
>>
>> cache_mem 128 MB
>> cache_dir ufs /webcache/cache 512 16 256
>> memory_pools off # neither "on" nor "off" have any effect on leaking.
>>
>> As you see, the memory requirements should be rather modest.
>>
>> Running on 8.4-RELEASE-p16 i386.
>>
>> --
>> Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
>> sip:sudakov at sibptus.tomsk.ru
>> _______________________________________________
I think you should file a bug report

https://bugs.freebsd.org/bugzilla/enter_bug.cgi

so that this can be actioned/tracked.  I don't have squid 3.4.8 running
yet, but a friend forwarded his experience after only 6 days of light use:

last pid: 43552;  load averages:  0.34,  0.23,  0.18  up 5+22:34:12    06:01:32
245 processes: 1 running, 244 sleeping

Mem: 483M Active, 6021M Inact, 1581M Wired, 371M Cache, 1636M Buf, 7394M Free
Swap: 32G Total, 1104M Used, 31G Free, 3% Inuse


  PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME    WCPU COMMAND
 6095 squid         1  20    0   738M 63044K kqread  7   2:12   0.00% squid
73487 squid         1  20    0   326M  7548K kqread  3   0:15   0.00% squid

Regards, Dewayne.



More information about the freebsd-ports mailing list