Depending on your file system options, linux generally reserves 5% of space for the super user. What you need to do is find out how much space is being used by everything other than Squid, and how much space, minus that reserved five percent, you have available, and calibrate your disk cache size appropriately. I'd consider just knocking ten gig off that number and going from there.

--Dave
On Sep 26, 2007, at 11:47 AM, Abdock wrote:

Space is the issue, i did df and it was nearing 95% and the squid stops with the disk out error.

-----Original Message-----
From: Martin A. Brooks [mailto:[EMAIL PROTECTED]
Sent: 26 September 2007 17:47
To: Abdock
Cc: [email protected]
Subject: Re: [squid-users] Squid Running out of Disk space

Abdock wrote:
Hello All,

I have a single HDD, 72Gb and have configured Squid with the below parameters, but it just runs out of disk space since

SQUID 2.6 STABLE 15

cache_dir aufs /usr/local/squid/var/cache 50000 16 256


After a week the box runs out of Disk Space.

Can anybody help on this one ?

df -i

You're probably out of inodes.

--

Martin A. Brooks | http://www.antibodymx.net/ | Anti-spam & anti- virus
    Consultant    |  [EMAIL PROTECTED]      | filtering. Inoculate
  antibodymx.net  |  m: +447896578023           | your mail system.



Systems Administrator
Zope Corp.
540-361-1722
[EMAIL PROTECTED]



Reply via email to