RE: [squid-users] Oom-killer and Squid

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Thu, 08 Mar 2007 23:50:05 +0100

tor 2007-03-08 klockan 13:55 -0500 skrev Dave Rhodes:

> Any idea what would make the heap keep growing?

You have a cache_mem of 1 GB, plus 60 GB of cache_dir. That alone is
about 1.6GB or memory. Then your OS need some..

How much memory do the server have? In a previous post you claimed 6GB.
Why then only 2GB of swap? If you have swap it should be at least as
large as the memory, preferably larger.. but I do not think this is
your problem..

If you suspect there is a memory problem with Squid then monitor the
process size over time, and also see the cachemgr memory page to see if
there is any indications to what the memory is being used for. And the
general runtime info page as well (even if many numbers there break down
when the process grows above 2GB due to glibc mallinfo reporting
limitations, not our fault).

Regards
Henrik

Received on Thu Mar 08 2007 - 15:50:12 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 31 2007 - 13:00:01 MDT