Using memcache 1.5.0
We have a pretty busy site and use memcache for both sessions and fragment caching. We get about 10-15 of these exceptions
a day.
unexpected response "STORED\r\n"
[RAILS_ROOT]/vendor/gems/memcache-client-1.5.0/lib/memcache.rb:562:in `cache_get'
The relevant code in cache_get is
unless keyline =~ /(\d+)\r/ then
server.close
raise MemCacheError, "unexpected response #{keyline.inspect}"
end
What is very strange is that according to the memcache API, the server will only send back "STORED" from a
*set* call, never a *get*, which is where this is happening. The only think I can think of is that somehow 2 or more
communication streams are getting crossed?
Any ideas? |