cache_dir grows without bounds

From: Noah Sutherland <noahs@dont-contact.us>
Date: Mon, 12 Jun 2000 09:11:15 -0700 (PDT)

OK, I have the following in my squid.conf

cache_dir ufs /usr/local/squid/cache 4096 16 256

And squid seems to recognize it when it starts up (from cache.log):

2000/06/10 07:07:08| Swap maxSize 4194304 KB, estimated 322638 objects
...
2000/06/10 07:07:08| Max Swap size: 4194304 KB

But it still appears to grow uncontrolled, fills up the whole disk and
crashes:

2000/06/10 07:06:50| WARNING: Disk space over limit: 6811631 KB > 4194304 KB
2000/06/10 07:06:58| diskHandleWrite: FD 16: disk write error: (28) No space left on device
2000/06/10 07:06:58| storeUfsWriteDone: got failure (-6)
2000/06/10 07:06:58| WARNING: Shrinking cache_dir #0 to 6812168 KB

Here is the info from "df -k". There is *way* more space available than
the 4GB limit I set:

/dev/da0s1e 8681827 7987281 0 100% /usr/local/squid

What would cause this and how do I prevent it from happening?

Sincerely,
Noah Sutherland Regional Technical Supervisor - Internet On-Ramp
noahs@ior.com

To get my PGP public key, please email to noahs-finger@ior.com
or you can get it at BAL's public key server at http://pgp.ai.mit.edu/
Received on Mon Jun 12 2000 - 10:14:28 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:00 MST