you won't ever get any evictions from the cache until it uses up all
the available memory. You have it set to use up to 512Mb via command
line, but the stats say you only have 74Mb of data in the cache so
far.

On 7/4/07, Wenlong Wu <[EMAIL PROTECTED]> wrote:

Hi,

I have deployed memcache v1.22 on our php application, but memcached
didn't delete the expired cache. the stats evictions always = 0.

The memcached options: /usr/local/bin/memcached -d -u apache -m 512 -c 8192

And the stats:

   [xxx.xxx.xxx.xxx:11211] => Array
       (
           [pid] => 17487
           [uptime] => 76564
           [time] => 1183519887
           [version] => 1.2.2
           [pointer_size] => 64
           [rusage_user] => 42.501538
           [rusage_system] => 164.426003
           [curr_items] => 210879
           [total_items] => 1286159
           [bytes] => 74539315
           [curr_connections] => 15
           [total_connections] => 8182
           [connection_structures] => 37
           [cmd_get] => 3782313
           [cmd_set] => 1286159
           [get_hits] => 3481070
           [get_misses] => 301243
           [evictions] => 0
           [bytes_read] => 20220003351
           [bytes_written] => 21055932819
           [limit_maxbytes] => 536870912
           [threads] => 1
       )

Justin
http://www.sofee.cn/blog/

________________________________
 150 万 人 同 时 在 玩 的 网 游,你 不 试 试 吗 ?

Reply via email to