Re: [squid-users] cache_dir size problem

This is a discussion on Re: [squid-users] cache_dir size problem within the Squid Users forums, part of the Web Server and Related Forums category; please read this part of the squid faq: http://www.squid-cache.org/Doc/FAQ/FAQ-4.html#ss4.14 ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-01-2004
Dodjie Nava
 
Posts: n/a
Default Re: [squid-users] cache_dir size problem


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




Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:44 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0