Re: [squid-users] Re: Re: Check your disk space?!

From: Matus UHLAR - fantomas <uhlar_at_fantomas.sk>
Date: Tue, 29 Dec 2009 20:47:25 +0100

> On 29.12.2009, Jorge Armando Medina wrote:
> > I got a similar error about "no space left" and at that moment disc
> > usage was 13GB from 30GB cache disk. The problem was the OS mounted
> > read only the partition because bad filesystem, I repaired the
> > filesystem re create the cache and everything it is ok.

On 29.12.09 17:46, Heinz Diehl wrote:
> I think I finally found the cause: the filesystem is out of blocks. Unfortunately,
> the btrfs formatter doesn't obey the --sectorsize option and always defaults to
> 4096. That's f*cking annoying, btrfs has worked really more than great for
> me the last months and is fingerlickin' fast on my SSD. So far, I have now
> changed to XFS with 512 blocksize, did restore the cache_dir and squid is
> running up and running again.

If you are using 2.7, configure 'coss' type cache_dir and put all small
files (e.g. under 128MB) there. It should be faster and save much of disk
space (and inode table too)

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
My mind is like a steel trap - rusty and illegal in 37 states. 
Received on Tue Dec 29 2009 - 19:47:44 MST

This archive was generated by hypermail 2.2.0 : Thu Dec 31 2009 - 12:00:02 MST