[squid-users] strange memory use

From: J. Peng <peng.kyo@dont-contact.us>
Date: Mon, 18 Feb 2008 15:16:34 +0800

Hello members,

this is the stat info from squidclient's output:

Cache information for squid:
        Request Hit Ratios: 5min: 99.9%, 60min: 99.9%
        Byte Hit Ratios: 5min: 97.1%, 60min: 98.2%
        Request Memory Hit Ratios: 5min: 22.2%, 60min: 22.0%
        Request Disk Hit Ratios: 5min: 25.9%, 60min: 25.9%
        Storage Swap size: 225816 KB
        Storage Mem size: 4404 KB
        Mean Object Size: 63.97 KB
        Requests given to unlinkd: 0

it said my storage mem size is 4404 KB, though I have set the
cache_mem size to 1.8 GB in squid.conf:

cache_mem 1800 MB
maximum_object_size 2048 KB
maximum_object_size_in_memory 128 KB
half_closed_clients off
memory_pools_limit 150 MB

why "request memory hit ratios" is so low (about 22%), while squid has
used so few memory (only 4M)?

Thanks!
Received on Mon Feb 18 2008 - 00:16:39 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:05 MST