Re: [squid-users] strange memory use

2008-02-24 Thread Henrik Nordström
mån 2008-02-18 klockan 15:16 +0800 skrev J. Peng:

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

Only 4404 KB of that 1.8 GB has been used.

Either all small objects already exised on disk, or your clients are
mainly requesting objects larger than your memory size limit (128 KB).

Regards
Henrik


signature.asc
Description: Detta är en digitalt signerad	meddelandedel


Re: [squid-users] strange memory use

2008-02-21 Thread Matus UHLAR - fantomas
On 18.02.08 15:16, J. Peng wrote:
 Storage Mem size:   4404 KB

 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

because memory cache and memory usage are two different things.
see http://wiki.squid-cache.org/SquidFaq/SquidMemory

 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%
 why request memory hit ratios is so low (about 22%), while squid has
 used so few memory (only 4M)?

your clients are probably down loading much uncacheable objects
-- 
Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
BSE = Mad Cow Desease ... BSA = Mad Software Producents Desease


[squid-users] strange memory use

2008-02-17 Thread J. Peng
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!