On Tue, 26 Jun 2001 Sadhna.Ahuja@nokia.com wrote:
> Hi,
> I am trying to understand how the memory replacement in the routine
> storeGetMemSpace() works. I have set cache_mem to a low value so that
> store_pages_max is 12. Also, I have forced that each StoreEntry be locked
> (to test what happens in this case). I see the following debug statements:
>
>
> storeGetMemSpace: store_pages_max = 12, memInUse = 17
> storeGetMemSpace: Starting, need 1 pages
> storeGetMemSpace stats:
> 0 HOT objects
> 0 were released
>
> After this, Squid continues as usual without complaining that none of the
> objects were released. How can this happen - store_pages_max is 12, it was
> already using 17 and now it somehow finds another page?
store_pages_max is not a hard limit. As you have found out, additional pages
will be allocated if needed. Those pages will be freed when Squid is done
with those responses.
Received on Tue Jun 26 2001 - 10:59:55 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:04 MST