Yee Man Chan wrote:
> What is storeGetSwapSpace supposed to do?
storeGetSwapSpace does a "emergency purge" if the cache is above
cache_swap_high. This purge can take some time to complete.
The normal LRU purging is done in storeMaintainSwapSpace, looking at a
little piece of the cache at a time while the cache is above
cache_swap_low.
There is also a old(?) undocumented store maintaince-method. Squid can
periodically walk throught the entire cache and remove all expired / old
objects. It is enabled by setting clean_interval in squid.conf (set in
seconds). This method is depreated as it blocks the cache for a long
time on each clean_interval. The function involved in this activity is
storePurgeOld.
--- Henrik Nordström Sparetime Squid HackerReceived on Tue Mar 03 1998 - 15:38:03 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:08 MST