[Server-devel] Has anyone else seen squid swap.state bloat?

James Cameron quozl at laptop.org
Fri May 6 05:09:20 EDT 2016


On Fri, May 06, 2016 at 09:44:14AM +0100, Peter Robinson wrote:
> >> Yesterday, an interesting issue happened. On an older XSCE
> >> install, the squid cache bloated over time to create a 300GB swap
> >> file and made the server unusable. I was wondering if anyone else
> >> may have come across this before?
> >
> > Yes, much the same occurred on an XSCE 5.1+ in Rwanda earlier this
> > year.  It's very serious (squid bloat filled the terabyte drive,
> > chock full) and needs investigation, thanks for circulating~
> 
> It's an issue I've seen with squid since the later half of the 1990s,
> for some reason the cache just bloats out well over the configured
> limit. I use to just toast the cache, re-init and restart squid. I'm
> not sure if there's a more elegant way to deal with it.

Same here, in the 1990s and up to about 2006 when I stopped caring
about it.

@Anish, put the cache on a separate partition, so that when it fills
the disruption is confined.

Nowadays there are other proxy servers.

-- 
James Cameron
http://quozl.netrek.org/


More information about the Server-devel mailing list