Re: [squid-users] cache_dir size problem

From: Dodjie Nava <dpnava@dont-contact.us>
Date: Mon, 01 Mar 2004 09:14:32 +0800

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.

hope this helps.

babar haq wrote:

>----- Original Message -----
>From: "Claudiu Bosioc" <claudiu@his.ro>
>Date: Sat, 28 Feb 2004 21:05:47 +0200
>To: "babar haq" <babarhaq@email.com>, <squid-users@squid-cache.org>
>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" <babarhaq@email.com>
>>To: <squid-users@squid-cache.org>
>>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 <dpnava@mozcom.com>
Systems Engineer
E-Net Corporation
Binan, Laguna, Philippines
Received on Sun Feb 29 2004 - 18:50:33 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:03 MST