It seems to me that something else is using the space in that
partition. Think about it: the partition size is almost 4GB and
your logs complain about shrinking the cache_dir size to 2.8GB
and write errors. First of all, do you keep your logs on the same
partition? If you do, move them away ASAP. If you don't, then
umount /cache and fsck /dev/sda5 ASAP

Mihai Buha
ICT.ROM

On Tue, 2 Mar 2004, babar haq wrote:

> >
> > please read this part of the squid faq:
> > http://www.squid-cache.org/Doc/FAQ/FAQ-4.html#ss4.14
> >
> > try using a conservative size for cache_dir, say 2500 or 3000MB.

> I reduced the size to 3000 but my df -h now shows this
> /dev/sda5 3.9G 3.8G 199M 96% /cache
>
> It seems to me that cache_dir in squid.conf is having no affect.Hope some one can help.
>
>
>
> > hope this helps.
> >
> >
> > babar haq wrote:
> >
> > >----- Original Message -----
> > >From: "Claudiu Bosioc"
> > >Date: Sat, 28 Feb 2004 21:05:47 +0200
> > >To: "babar haq" ,
> > >Subject: Re: [squid-users] cache_dir size problem
> > >
> > >
> > >
> > >>are you using FreeBSD?
> > >>is 5% of your partition reserved for root?
> > >>
> > >>
> > >I am using red hat linux 7.3 with squid 2.5 Stable 3. Its compiled not a rpm.
> > >total partition is 3.9GB 5% of this should be 0.195GB which shoud be available.
> > >Do u know mean we have to specify it some where?????Sorry for the ignorance.
> > >Thanx in advance
> > >
> > >
> > >
> > >
> > >
> > >>best regards,
> > >>Claudiu Bosioc
> > >>www.his.ro
> > >>IT Manager
> > >>
> > >>----- Original Message -----
> > >>From: "babar haq"
> > >>To:
> > >>Sent: Saturday, February 28, 2004 3:32 PM
> > >>Subject: [squid-users] cache_dir size problem
> > >>
> > >>
> > >>
> > >>
> > >>>Hi
> > >>>This is my cache_dir line in squid.conf
> > >>>cache_dir ufs /cache 3500 16 256
> > >>>
> > >>>my /cache total size is 3.9G
> > >>>df -h shows this for /cache
> > >>>/dev/sda5 3.9G 3.7G 272M 94% /cache
> > >>>
> > >>>If I have limit /cache to 3500MB, why is its size growing much higher then
> > >>>
> > >>>
> > >>that? I also have these lines in my cache.log
> > >>
> > >>
> > >>>2004/02/27 22:34:55| WARNING: Shrinking cache_dir #0 to 2862576 KB
> > >>>2004/02/27 22:34:55| diskHandleWrite: FD 69: disk write error: (28) No
> > >>>
> > >>>
> > >>space left on device
> > >>
> > >>
> > >>>2004/02/27 22:34:55| storeUfsWriteDone: got failure (-6)
> > >>>2004/02/27 22:34:55| storeSwapOutFileClosed: dirno 0, swapfile 0001BF33,
> > >>>
> > >>>
> > >>errflag=-6
> > >>
> > >>
> > >>> (28) No space left on device
> > >>>2004/02/27 22:34:55| WARNING: Shrinking cache_dir #0 to 2862572 KB
> > >>>2004/02/27 22:34:55| diskHandleWrite: FD 103: disk write error: (28) No
> > >>>
> > >>>
> > >>space left on device
> > >>
> > >>
> > >>>2004/02/27 22:34:55| storeUfsWriteDone: got failure (-6)
> > >>>2004/02/27 22:34:55| storeSwapOutFileClosed: dirno 0, swapfile 0001BF33,
> > >>>
> > >>>
> > >>errflag=-6
> > >>
> > >>
> > >>> (28) No space left on device
> > >>>
> > >>>Is there something wrong???
> > >>>
> > >>>Regards,
> > >>>Babar
> > >>>
> > >>>--
> > >>>__________________________________________________ _________
> > >>>Sign-up for Ads Free at Mail.com
> > >>>http://promo.mail.com/adsfreejump.htm
> > >>>
> > >>>
> > >>>
> > >>>
> > >Regards,
> > >Babar
> > >
> > >

> >
> > --
> > Dodjie Nava
> > Systems Engineer
> > E-Net Corporation
> > Binan, Laguna, Philippines
> >
> >
> >
> >

>
> --
> __________________________________________________ _________
> Sign-up for Ads Free at Mail.com
> http://promo.mail.com/adsfreejump.htm
>
>