----- Original Message ----- From: "Mark M. Barrios" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 10, 2003 6:34 PM Subject: Re: [plug] squid cache
> you should try using a cache_replacement_policy other than the default lru, > like heap GDSF. you get less cache pollution and better object eviction > so the > cache doesnt fill up with stale objects. you have the right definition of cache_replacement_policy but doesnt guarantee that your disk cache will not get full...here is why... a cache server has a *fixed* amount of storage for holding objects.. when this storage space *fills up* the cache must choose one or more objects to evict in order to make room for newly referenced objects... the cache replacement policy determines which objects should be remove from the cache but still the amounf of storage space is fixed.. > or you can try playing with cache_swap_high and cache_swap_low settings, but then again, your suggestion is still the same as above... cache_swap_high and cache_swap_low are just an indicators when to start for object replacement... cache_dir parameter is the proper way to configure here to avoid disk full... fooler. _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
