Hi,
Il 17.54 17/09/2001 Mike Diggins ha scritto:
>Isn't Squid 2.3Stable4 the version that people are saying has this
>particular bug?
>
>-Mike
>
>On Mon, 17 Sep 2001, John C. Gale wrote:
>
> > Squid shut down the other day because the cache was full and I have
> > no idea why it was full.
> >
> > I have 50Gb of disk SOLELY for squid cache (on its own partition)
> > Nothing else shares this partition. The squid cache is by itself.
> > It is split across three disks (raid0) and appears as one device
> > I cranked the inodes way up (lots of small files)
> >
> > Yet, after running for 30 days (and moving on average 16Gb of
> > data each day), the box suddenly ran out of space. This happened
> > to me before, so I set /etc/squid.conf to well below the 50gb limit
> > of the disk (set to 42Gb) and changed the inodes at the same time.
> >
> > Some particulars follow, I am completely confused as to why it filled
> > up. How did it handle being up for 30 days (30days * 16Gb = 480Gb)
> > and suddenly fill up?
> >
> > I need some hints as I'm completely out of ideas. What needs tuning?
> >
There are two answers:
1) Do you rotate Squid's logs ?
2) There is a know bug of Squid 2.3 STABLE 4 on used disk space determination:
block size is hard coded to a value of 1024 bytes, so if you are using
larger block size, disk fills up. If your problem is this, I can send you a
patch to fix it.
See Bugzilla #42: http://www.squid-cache.org/bugs/show_bug.cgi?id=42.
Guido
-
=======================================================
Serassio Guido
Via Albenga, 11/4 10134 - Torino - ITALY
Tel. : +39.011.610749
E-mail: serassio@interfree.it
serassio@libero.it
WWW: http://www.serassio.it
Received on Mon Sep 17 2001 - 13:10:44 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:13 MST