----- Original Message ----- From: "Mark M. Barrios" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 11, 2003 11:44 AM Subject: Re: [plug] squid cache
> and a good cache_replacement_policy as i suggested gets you > better/efficient object eviction - the cache doesnt fill up with stale > objects. yes we do have a *FIXED* amount of storage space what > cache_replacement_policy does is make better use of that *fixed* space. im not contesting with your better/efficient replacement policy... what im pointing out here is that how do you guarantee not to have a disk full as what the original poster wanted to do... cache_replacement_policy parameter is not the proper solution here nor the cache_swap_low and cache_swap_high parameters... but instead adjust the value of cache_dir parameter way below from the total actual size of that partition... > you can set cache_dir to take up all of your disk space but they can > still fill up with stale objects. of course... thats the nature of caching with regards to stale objects and that is what cache replacement policy is all about... > ive seen squid caches fill up entire partitions even if cache_dir is > setup to use only half of that. these were on high traffic FreeBSD boxes. if that the case then you got a buggy squid server... we have squid servers running above 100 request per second, configured cache_dir half of the total capacity (or below of that due to the cache size per ram ratio), running under freebsd os and looks perfectly fine as what we wanted to do... 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]