fiveruns

Ruby on Rails Caching: memcached Connection Lost Problem - FiveRuns' Memcache-client to Rescue

Submitted by kai on Sun, 2008-10-05 23:56. ::

You use memcached server and memcached-client for caching with your Ruby on Rails application. One day, monit tells you that memcached got restarted. Sounds good. But when you check your Ruby on Rails app, it gives you 500 errrors all over the place. You check your server logs. Tons of errors on 'lost connection' with memcache. It turned out that memcached-client doesn't automatically retry on failed memcached connection.

Fortunately, FiveRuns fixed memcached-client and released it

XML feed