I'm using squid to mirror a large collection of MP3 files (~20GB) on a disk
that is *almost* large enough to contain the whole thing. The collection
changes very rarely and only by growing. Ideally, then once a file has been
accessed, it should stay in the disk cache until the cache nearly overflows.
I can't quite seem to get this behavior, though. Files seem to be removed
from the cache before it has gotten close to the size specified squid.log:
cache_dir /usr/local/squid/cache 20000 16 256
I can tell that items are no longer in the cache by looking at access.log and
seeing a TCP_MISS for objects that earlier had TCP_HITs. I can't understand
store.log; it says RELEASE in cases where I'm sure the object has just been
added to the disk cache.
This is all with squid 2.2.
Received on Fri Oct 15 1999 - 09:42:21 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:55 MST