Re: [squid-users] Twice as much memory used as accounted for

From: rihad <rihad@dont-contact.us>
Date: Mon, 11 Jun 2007 00:34:59 +0500

Henrik Nordstrom wrote:
> sön 2007-06-10 klockan 11:40 +0500 skrev rihad:
>
>> Where did the difference between Squid's actual usage (1504MB one minute
>> before the crash) and the accounted 8420732 KB go?
>
> Not all memory is accounted. But your difference seems a little high.
>
Hey, Henrik, thanks for the heads up. I have a strong suspicion that
this config line is responsible for our much increased memory use:

cache_replacement_policy heap GDSF

Previously we used the heap LFUDA policy instead, at which time 1150 MB
process size limit was enough to handle a 50 GB cache_dir + 256 MB
cache_mem. But now 1500 MB process size is not enough to handle exactly
500 MB cache_mem with heap GDSF. Af first sight a 350MB increase in
process size would be plenty to cover the 244MB increase of cache_mem.
But if you take our 4,5 million cached objects with GDSF into account
(as opposed to a little over 3 million with LFUDA) one can see why Squid
now requires more memory than expected. Am I right in this reasoning?
Received on Sun Jun 10 2007 - 13:35:16 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:04 MDT