Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get multi_key issues #12

Open
chamnap opened this issue Oct 1, 2010 · 4 comments
Open

Get multi_key issues #12

chamnap opened this issue Oct 1, 2010 · 4 comments

Comments

@chamnap
Copy link

chamnap commented Oct 1, 2010

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?

Thanks,
Chamnap

@mperham
Copy link
Owner

mperham commented Oct 1, 2010

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

@chamnap
Copy link
Author

chamnap commented Oct 4, 2010

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

@mperham
Copy link
Owner

mperham commented Oct 5, 2010

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

@mperham
Copy link
Owner

mperham commented Oct 5, 2010

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants