Memcached not reaching limit_maxbytes and evicting old cache

Jeremy Riney nigma3d at gmail.com
Fri Jun 22 21:15:52 UTC 2007


We have deployed memcache 1.22 on our php/mysql application. The problem two
fold:

(1) our cache doesn't fill all the way up to the limit_maxbytes, yet it
cannot add any new items (until we add another memcache server).

(2) since memcahce is "full", it should delete old, infrequently used data,
yet the evictions are listed as [0].

Here is a printout of stats.

[XXX.XX.XXX.XXX:11211] => Array
(
[pid] => 25833
[uptime] => 225838
[time] => 1182544142
[version] => 1.2.2
[pointer_size] => 32
[rusage_user] => 156.936142
[rusage_system] => 843.370788
[curr_items] => 80253
[total_items] => 2093402
[bytes] => 837495268
[curr_connections] => 1665
[total_connections] => 789085
[connection_structures] => 3060
[cmd_get] => 8145490
[cmd_set] => 2093402
[get_hits] => 5606887
[get_misses] => 2538603
[evictions] => 0
[bytes_read] => 22638506466
[bytes_written] => 61598351689
[limit_maxbytes] => 932184064
[threads] => 4

Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/memcached/attachments/20070622/2037365c/attachment.htm


More information about the memcached mailing list