Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Get multi_key issues #12

chamnap opened this Issue · 4 comments

2 participants


I'm using ubuntu server 10.04, rails 2.3.2, memcache-client 1.8.5

I got some problem with using get_multi with memcached server located on another cloud instance. It always raises the exception "MemCache::MemCacheError: end of file reached" or "MemCache::MemCacheError: Broken pipe" with more than 40 keys. However, when get one key at a time, it's quite stable. Another thing is when I get multi key where the memcached server is located on the same instance, it is quite ok. I wonder there is a limitation on the length of keys to make request to memcached server. Or, it is the problem with ubuntu server (file descriptor)? I've set the file descriptor to a very high number already in both cloud instances.
Could you explain me?



Try the same operation with the Dalli gem and see if that breaks too.


I tried the Dalli gem, and it doesn't work well even if the memcached server located on the same machine.


Commit d0cdc1c tests a huge multi-get operation with 10,000 elements and it works perfectly on my local OSX machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.