Re: [squid-users] New Accel Reverse Proxy Cache is not caching everything... how to force?

From: Waitman Gobble <waitman_at_waitman.net>
Date: Fri, 31 Jul 2009 21:13:53 -0700

Hery Setiawan wrote:
> @waitman
>
> are you not kidding with cache_mem 3008 MB, that's pretty big mem you
> know since the suggested for max memory only 32MB. you don't want to
> save the cache in memory, do you?
>
>

hi,

it's on a machine that does absolutely nothing else. it ran for a few
days with the defaults, load average 0, memory usage nothing, disk usage
nothing, was serving files and handling traffic but hit rate around 18%.
I felt kind of obscene running an expensive server like that, while
appearing not to do much of anything - but maybe that's not the right
way to see things. ?

i'm not sure that 3008 MB is a wise number, but I'll see how it runs.
after about a day it's using 20% of RAM. running the entire cache in RAM
would actually be better, a machine with 250GB of RAM would be supreme,
and 4GB is puny in this day and age, I think. But that's what's running
in my world at the moment.

The squid process now seems to be running just under 600 MB.

The Filemap bits magically increased, thank goodness. The 18% has grown
to 57% in about a day.

HTTP: 1089956 Requests, 621729 Hits ( 57%)

mem_wire: 575565824 ( 548MB) [ 13%] Wired: disabled for
paging out
mem_active: + 105525248 ( 100MB) [ 2%] Active: recently referenced
mem_inactive:+ 2254458880 ( 2150MB) [ 54%] Inactive: recently not
referenced
mem_cache: + 94208 ( 0MB) [ 0%] Cached: almost avail. for
allocation
mem_free: + 1194283008 ( 1138MB) [ 28%] Free: fully available for
allocation
mem_gap_vm: + 380928 ( 0MB) [ 0%] Memory gap: UNKNOWN
mem_used: 866344960 ( 826MB) [ 20%] Logically used memory
mem_avail: + 3428622336 ( 3269MB) [ 79%] Logically available memory

Store Directory Statistics:
Store Entries : 74143
Maximum Swap Size : 314572800 KB
Current Store Swap Size: 3014164 KB
Current Capacity : 1% used, 99% free

Store Directory #0 (ufs): /cache
FS Block Size 2048 Bytes
First level subdirectories: 16
Second level subdirectories: 256
Maximum Size: 314572800 KB
Current Size: 3014164 KB
Percent Used: 0.96%
Filemap bits in use: 74051 of 131072 (56%)
Filesystem Space in use: 5095328/465070216 KB (1%)
Filesystem Inodes in use: 159196/60128254 (0%)
Flags: SELECTED
Removal policy: lru
LRU reference age: 1.25 days

Waitman
Received on Sat Aug 01 2009 - 04:14:34 MDT

This archive was generated by hypermail 2.2.0 : Sat Aug 01 2009 - 12:00:05 MDT