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

MemcachedError in Admin #3

Closed
typeshige opened this issue Jul 25, 2012 · 5 comments
Closed

MemcachedError in Admin #3

typeshige opened this issue Jul 25, 2012 · 5 comments

Comments

@typeshige
Copy link

Hi,

Using Django 1.4 and in admin I have a model that I can't see the detail view.

MemcachedError at /admin/nims/article/1141/
error 37 from memcached_set: SYSTEM ERROR(Resource temporarily unavailable), host: 127.0.0.1:11211 -> libmemcached/io.cc:358
Request Method: GET
Request URL:    http://127.0.0.1:8007/admin/nims/article/1141/
Django Version: 1.4
Exception Type: MemcachedError
Exception Value:    
error 37 from memcached_set: SYSTEM ERROR(Resource temporarily unavailable), host: 127.0.0.1:11211 -> libmemcached/io.cc:358
Exception Location: /home/django/.virtualenvs/astrobiology-alpha/local/lib/python2.7/site-packages/django/core/cache/backends/memcached.py in set, line 64
Python Executable:  /home/django/.virtualenvs/astrobiology-alpha/bin/python
Python Version: 2.7.1

Most of my admin works, my guess is this article model is quite a big bigger than the others..

Please let me know how to debug this and if I can send you anything else that would be useful.

Thanks,
Shige

@jmoiron
Copy link
Owner

jmoiron commented Jul 26, 2012

Shige, do you have a traceback?

It's strange that memcached_set is reporting (Resource temporarily unavailable). Memcached has a maximum data size of 1MB for any given key; I thought it dealt with these types of failures in another way.

@typeshige
Copy link
Author

Thanks for responding.

I hope this helps.

http://dpaste.com/775963/

@typeshige
Copy link
Author

Looks like my dpaste went away. Please let me know if you want another traceback.

Thanks,
Shige

@typeshige
Copy link
Author

Just a quick update, I had to turn off johnny cache since its getting so many errors.

I still need to check all my libraries and perhaps get more memory. My box has 16gb and it's using about 14 now. I have my cache set to 512mb or so. Is it too close using all my memory?

I think my machine can take 32 gb of ram so I'm going to try to buy some next week and would that have a chance of fixing things? I figure I want probably a 2+ gb of cache once it works anyways.

Thanks.

@jmoiron
Copy link
Owner

jmoiron commented Oct 18, 2012

Shige, I'm going to assume this was related to the issues you were having with memcached libs & connectivity in #4. If not, please re-open this issue and paste the tb in a comment!

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