Hi,
given the following settings in squid.conf (2.7-STABLE9):
cache_mem 512 MB
maximum_object_size_in_memory 10 MB
memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA
cache_dir coss /var/cache/squid/cs 10240 max-size=131072 block-size=4096 maxfullbufs=10
cache_dir aufs /var/cache/squid/A 20000 64 256 min-size=131073
minimum_object_size 0 KB
maximum_object_size 200 MB
When someone downloads e.g. "patch-2.6.35-git10.bz2" with a size of ca. 6.4 MB,
I see a SWAPOUT for this file in the logs, and the next one downloading
this file is served directly and entirely from the cache (disk), I see a
TCP_HIT in the logs. So far, so good.
My question is: why is that file not getting cached in memory? The
maximum_object_size_in_memory is 10 MB and big enough.
For testing purposes, I set up a squid proxy with cache_dir "null", the
log files show RELEASE for the mentioned kernel patchfile directly after
downloading, and it is never cached in memory either...
What am I missing here?
Regards,
Heinz.
Received on Thu Aug 12 2010 - 21:26:45 MDT
This archive was generated by hypermail 2.2.0 : Fri Aug 13 2010 - 12:00:02 MDT