Re: [squid-users] Squid memory usage

From: Simon Roscic <simon_at_segfault.info>
Date: Tue, 07 Aug 2012 16:35:06 +0200

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?

kind regards,
Simon Roscic
Received on Tue Aug 07 2012 - 14:35:42 MDT

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