On 12 января 2008, Stefan Monnier wrote: > My polipo server is running on a fairly large drive and doesn't see much > use (I mostly use it as a caching proxy for the Debian repository so > that I don't download the packages for each and every machine), so > I haven't bothered to shrink its cache until now. But over time, the > cache of course keeps growing and I'm now at the point where it > needs shrinking. I looked at the doc and there doesn't seem to be > a standard "shrink the cache" program. > > I think it would be good to bundle some sample shrink-the-cache script > along with polipo. I'm not sure what you people use, but I've whipped > up the following script (this is run on an OpenWRT home router with 32MB > of RAM, which influenced the design and implementation significantly). > The script aims to throw out more or less the oldest half of the cache.
Maybe this script helps: http://ely.ath.cx/~piranha/software/polipo_trimcache/ I intend to add this script to Debian package in near future to close Debian #293742 bug [1] [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=293742 Denis
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________ Polipo-users mailing list Polipo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/polipo-users