What's the heck ...
I have installed ntp and upgraded Memcached to 1.4.7. on the Dev-
Server (Debian with 2.6.32-5-amd64 kernel).
I have issued those stats and the get commands below within a couple
of seconds:
stats
STAT pid 24359
STAT uptime 3719
STAT time 1318514153
STAT version 1.4.7
STAT libevent 1.4.14b-stable
STAT pointer_size 64
STAT rusage_user 0.044002
STAT rusage_system 0.048003
STAT curr_connections 8
STAT total_connections 18
STAT connection_structures 14
STAT cmd_get 989
STAT cmd_set 294
STAT cmd_flush 0
STAT get_hits 701
STAT get_misses 288
STAT delete_misses 0
STAT delete_hits 0
STAT incr_misses 0
STAT incr_hits 0
STAT decr_misses 0
STAT decr_hits 0
STAT cas_misses 0
STAT cas_hits 0
STAT cas_badval 0
STAT auth_cmds 0
STAT auth_errors 0
STAT bytes_read 387729
STAT bytes_written 921992
STAT limit_maxbytes 67108864
STAT accepting_conns 1
STAT listen_disabled_num 0
STAT threads 4
STAT conn_yields 0
STAT bytes 346518
STAT curr_items 284
STAT total_items 294
STAT evictions 0
STAT reclaimed 0
END
get VC_DEVE_de_dev1775ce07d7522a017c2e46d95203659a0
VALUE VC_DEVE_de_dev1775ce07d7522a017c2e46d95203659a0 1 257
a:3:{i:0;s:215:"a:4:{s:4:"data";s:119:"a:2:{i:0;s:0:"";i:1;a:3:{s:
5:"items";a:4:{i:0;i:287;i:1;i:286;i:2;i:285;i:3;i:284;}s:5:"total";i:
87;s:6:"offset";i:0;}}";s:8:"lifetime";s:3:"300";s:6:"expire";i:
1318513772;s:8:"priority";i:8;}";i:1;i:1318513472;i:2;N;}
END
You can see that the get command pulls an item that has an expire
timestamp smaller than the STATS time timestamp.
So now the Dev server does the same as the Live Server, it get's
expired items instead of nukeing them.
Am I missing an important bit about the timestamps?
Is it possible that what the get command is showing me is NOT the real
expire timestamp the item has or something similar?
Regards, Anton