[squid-users] Squid memory usage

From: Nathan Hoad <nathan_at_getoffmalawn.com>
Date: Tue, 28 May 2013 13:59:04 +1000

I'm running Squid 3.2.9, and I am seeing huge memory and CPU usage on
busy sites. The CPU usage is expected due to the level of traffic, but
the memory usage not so much.

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
15631 squid 25 0 2073m 2.0g 5464 R 87.4 20.3 230:11.58
/usr/sbin/squid -N -f /etc/squid/squid.conf

cache_mem is set to 1024 MB. I would not expect Squid to need an
additional GB of memory to manage its internals.

The output of the manager's mem page can be downloaded here:

http://www.getoffmalawn.com/static/squidmgr.mem

What can I do to reduce this memory usage? It looks like a memory leak to me.

Nathan.
Received on Tue May 28 2013 - 03:59:32 MDT

This archive was generated by hypermail 2.2.0 : Tue May 28 2013 - 12:00:07 MDT