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
Memcached, Stale Cache & Config Problem #350
Comments
Are you using the |
Yes I am using dalli gem. |
Interesting. Does your log say something? Did the memcached server possibly freeze or crash because of too long keys or values? Also, are you using Passenger? If so, adding this to your environment.rb might help:
|
I did not check the log. I do not think the memcached server froze, it was On Wed, Feb 6, 2013 at 5:30 PM, Johannes Fahrenkrug <
|
I use memcahced server to help radiant to store the output. Unfortunately, I got this error randomly and the website stops working. Even when I did script/console it would come with this error:
/app/models/radiant/config.rb:84:in
[]':NoMethodError: undefined method
[]' for nil:NilClassThe line that is being thrown error is :Rails.cache.read('Radiant::Config')[key].
So I restarted memcached server and then the error disappeared. I wonder whether Radiant has cached something and if it is no longer returned by the cache server, instead of fallback it throws the above error.
The text was updated successfully, but these errors were encountered: