sir: so how do i configure my cache_dir. i configured 4 cache_dir as 4 logical partions on my disk having 500MB each. I notice they all fill up simultaneously. But i still have unpartitioned space left about 10GB i think. sorry for the "newbie" questions. napapadalas kasi pagdown ng proxy nawawalan ng internet.. kala ko non simple lang magsetup ng proxy dami din palang considerations. thanks for your help.
i have these cache_dir lines in my squid.conf: cache_dir ufs /var/squid/cache-1 500 16 256 cache_dir ufs /var/squid/cache-2 500 16 256 cache_dir ufs /var/squid/cache-3 500 16 256 cache_dir ufs /var/squid/cache-4 500 16 256 fooler <[EMAIL PROTECTED]> said: > ----- 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] linux.com > > 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] > -- _ 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]
