On Sun, 13 Jan 2013, csn233 wrote:
> On some machines, this number after service startup is small. Whereas
> others are larger than the total machine memory. I'm using exactly the
> same squid.conf when making the comparison.
>
> How is this number determined? Is this a maximum that the Squid
> process will potentially grow to?
>
> I have one machine where the squid process grows progressively, and
> eventually starts swapping and requiring a service restart when Squid
> process RSS nears machine memory. My cache_mem has been reduced to
> 1/16th of machine memory, so this is not the cause of the problem.
It is probably a memory leak. Squid's memory management fools C++'s
automatic memory clean up so it is prone to leaks if objects aren't
explicitly cleaned. I know of one still unfixed in 3.2 which was in 3.1 as
well, and there could easily be others.
Cachemgr's mem option might give you some idea of what objects are
leaking, particularly if you have other caches to compare with.
Michael Young
Received on Sun Jan 13 2013 - 23:11:32 MST
This archive was generated by hypermail 2.2.0 : Tue Jan 15 2013 - 12:00:04 MST