[squid-users] squid.conf problem: squid doesn't use the memory at all

From: George Hong <george@dont-contact.us>
Date: Sat, 17 Jul 2004 22:31:14 +0800

Hi there,

  My squid doesn't seem to use the memory at all. And I could not figure
it out.

  Here the configuration: Xeon 2.4 server with 4x18G (15,000 spd) and 2G
server with Linux As2.1 installed. The version of squid is 2.5.stable6.
It's set up as accelerator mode.

  The related entries in the squid.conf are as following:

  cache_mem 1000 MB

  cach_swap_low 94

  cach_swap_high 97

  maximum_object_size 4000000 KB

  minimum_object_size 0 KB

  maximum_ojject_size_in_memory 4096 KB

cache_dir aufs /cache/cache0 12000 15 256

cache_dir aufs /cache/cache1 14000 15 256

cache_dir aufs /cache/cache2 14000 15 256

cache_replacement_policy heap LFUDA

memory_replacement_policy heap LFUDA

 

When I look it up in the cache manager's general info, I got the
following info:
Cache information for squid:
        Request Hit Ratios: 5min: 61.0%, 60min: 61.0%
        Byte Hit Ratios: 5min: 46.7%, 60min: 46.7%
        Request Memory Hit Ratios: 5min: 0.0%, 60min: 0.0%
        Request Disk Hit Ratios: 5min: 54.7%, 60min: 54.7%
        Storage Swap size: 2832 KB
        Storage Mem size: 124 KB
        Mean Object Size: 6.99 KB
        Requests given to unlinkd: 0
 

The memory hit ratio is zero. That drives me crazy. Anybody has a hint?

Thanks a lot.

 

George Hong
Received on Sat Jul 17 2004 - 08:31:27 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Aug 01 2004 - 12:00:02 MDT