> We're having some issues with retrieving cached keys from our > memcached server. > > Tested different data with expiry times of 30s, 120s, and 600s - the > test was: try to get the data three times in quick succession. > > Obviously, we're expecting the first one from db but then the next two > should could from the cache. > > On our test local server (win box running couchbase's memcache), > that's what happened. On our live server (running debian & memcached), > it failed for 30s & 120s, but worked for 600. > > The only things changed in the config on the live box were the > listening port and the memory cap. > > Just wondering if anyone has any ideas as to why this could be > happening?
What version of memcached? You could have clock skew, which was repaired to use a monotonic clock in 1.4.7-ish. Try upgrading to the latest and see if you still have issues.
