We are currently having an issue with our memcache server that appears
to be flushing data even though nothing in the apps are flushing data.
I can set something with a TTL of 2 weeks yet it is only lasting in
memcache for a max of something around 30 minutes.
Print out of getstats in one of the php applications shows the
following:
Array
(
[pid] => 24793
[uptime] => 373575
[time] => 1336770386
[version] => 1.4.2
[pointer_size] => 64
[rusage_user] => 4077.050000
[rusage_system] => 12475.330000
[curr_connections] => 1143
[total_connections] => 89011605
[connection_structures] => 1616
[cmd_get] => 438522590
[cmd_set] => 101189934
[cmd_flush] => 863
[get_hits] => 435589695
[get_misses] => 188087908
[delete_misses] => 27221748
[delete_hits] => 610097
[incr_misses] => 0
[incr_hits] => 0
[decr_misses] => 0
[decr_hits] => 0
[cas_misses] => 0
[cas_hits] => 0
[cas_badval] => 0
[bytes_read] => 71199529191
[bytes_written] => 955401557632
[limit_maxbytes] => 10737418240
[accepting_conns] => 1
[listen_disabled_num] => 0
[threads] => 4
[conn_yields] => 157
[bytes] => 6796086722
[curr_items] => 12613469
[total_items] => 100944174
[evictions] => 0
)
There are no evictions so the data isnt filling up (we have set a 10GB
max and there is currently 6GB of data currently). However flushes are
rising and are at 863 as of this post. Is there something going on
that we are not seeing, or a setting somewhere? Any help would be
appreciated.