Re: Squid 2.0 PATCH 2 and cache dir's filling up.

From: Parabola <parabola@dont-contact.us>
Date: Tue, 27 Oct 1998 02:28:07 +1100

So is this a question or a bug report? Have u tried setting your cache_dir
tag in your squid.conf and restart?

:Parabola

# TAG: cache_dir
# Usage:
#
# cache_dir Directory-Name Mbytes Level-1 Level2
#
# You can specify multiple cache_dir lines to spread the
# cache among different disk partitions.
#
# 'Directory' is a top-level directory where cache swap
# files will be stored. If you want to use an entire disk
# for caching, then this can be the mount-point directory.
# The directory must exist and be writable by the Squid
# process. Squid will NOT create this directory for you.
#
# If no 'cache_dir' lines are specified, the following
# default will be used: /usr/local/squid/cache.
#
# 'Mbytes' is the amount of disk space (MB) to use under this
# directory. The default is 100 MB. Change this to suit your
# configuration.
#
# 'Level-1' is the number of first-level subdirectories which
# will be created under the 'Directory'. The default is 16.
#
# 'Level-2' is the number of second-level subdirectories which
# will be created under each first-level directory. The default
# is 256.
#
#cache_dir /usr/local/squid/cache 100 16 256

At 10:46 26/10/98 +0000, John Sloan wrote:
>
>Our cache directory filled up over the weekend, leaving such gems in the
>cache.log as:
>
>1998/10/26 10:09:37| diskHandleWrite: FD 25: disk write error: (28) No
>space left on device
>1998/10/26 10:09:37| storeSwapOutHandle: SwapOut failure (err code = -6).
>1998/10/26 10:09:37| WARNING: Shrinking cache_dir #0 to 21 KB
>
>Needless to say shrinking the cache_dir to 21Kb is not ideal. And
>indeed after stopping and restarting the cache, it threw away most of the
>entries in the swaplog file without succeeding in deleteing most of the
>contents of the disk.
>
>I now have a 99% full disk, and a cache with just over 2000 objects in it. :(
>
>John
>

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Intelligence is merely the accumulation of experience...
..
Parabola - the famous curve.
Email: mailto:parabola@ozemail.com.au
URL: http://parabola.home.ml.org/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Received on Mon Oct 26 1998 - 08:47:37 MST

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