Re: [squid-users] Squid memory usage

From: Hugo Deprez <hugo.deprez_at_gmail.com>
Date: Wed, 8 Aug 2012 17:49:50 +0200

Hello,

since I changed the configuration
memory usage is growing slowy.

Now squid is using 17% of 4GB

Eliezer, I am not sure to understand. But I am using two VM,
active/passive setup with a corosync VIP.

I will consider upgrading one member of the cluster to 3.1.20 (squeeze
packages). DO you think this will sole the issue ?

Regards,

On 8 August 2012 05:30, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> 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 - 15:49:57 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 09 2012 - 12:00:03 MDT