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.

Reply via email to