cache_dir size weirdness

From: Chris Dillon <cdillon@dont-contact.us>
Date: Wed, 29 Sep 1999 10:59:59 -0500 (CDT)

I'm running 2.2-STABLE4 (previously STABLE3) on FreeBSD 3.3-STABLE and
I just noticed something odd about my cache. From the beginning, I've
had my cache directories set up like so:

cache_dir /cache.0 6000 16 256
cache_dir /cache.1 6000 16 256
cache_dir /cache.2 6000 16 256

But I've noticed that each cache_dir never seems to grow past about
1.2GB of usage.

Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/da0s1g 6625221 1251550 5307419 19% /cache.0
/dev/da1s1g 6625221 1252212 5306757 19% /cache.1
/dev/da2s1g 6625221 1252062 5306907 19% /cache.2

All this time, the following line in the logs has been escaping my
eye:
Sep 29 10:01:56 cheetah squid[40163]: store_swap_size = 3697752k

Does this log entry specify how much data is currently in the cache,
or the maximum cache size?

I don't think anything else in my config could affect the cache
directories and how much they can hold, except possibly a larger
maximum_object_size of 8192K.

Any ideas?

-- Chris Dillon - cdillon@wolves.k12.mo.us - cdillon@inter-linc.net
   FreeBSD: The fastest and most stable server OS on the planet.
   For Intel x86 and Alpha architectures (SPARC under development).
   ( http://www.freebsd.org )

   "One should admire Windows users. It takes a great deal of
    courage to trust Windows with your data."
Received on Wed Sep 29 1999 - 10:16:37 MDT

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