Search squid archive

Re: Maximum Resident Size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux