Re: [squid-users] Squid memory usage

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 08 Aug 2012 15:30:16 +1200

On 08.08.2012 02:35, Simon Roscic wrote:
> Hello,
>
> I am experiencing the same Problem as Hugo Deprez reported and i
> think it is a memory leak.
>
> In my case i can confirm this memory leakage for Squid releases
> 3.2.0.18 and 3.2.0.19.
> We have a few hundred users using our Squid Proxy VM (4 Cores/4 GB
> RAM/Ubuntu 12.04/x64) and during work hours memory useage is
> increasing quite quickly (e.g. in 1 hour 15% increase of RAM useage
> by
> Squid).
> After a few hours my Squid Proxy VM begins to swap:
>
> Mem: 4049728k total, 3943484k used, 106244k free, 7836k
> buffers
> Swap: 2097148k total, 826108k used, 1271040k free, 117900k
> cached
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 26177 proxy 20 0 4159m 3.4g 2160 S 3 87.0 29:20.81 squid3
>
> also adding:
>
>> Can you try tuning these options?
>> memory_pools off
>> memory_pools_limit 1 MB
>
> as suggested by Drunkard Zhang does not help.
>
> ...
>
> So, how can we help to track down this problem?

I think this is probably:
  http://bugs.squid-cache.org/show_bug.cgi?id=3605

Can you start with the cachemgr memory usage report and confirm whether
the same FwdServer excessive memory usage is seen?

Amos
Received on Wed Aug 08 2012 - 03:30:22 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 08 2012 - 12:00:03 MDT