#69: MemCacheError () failures in Rails 2.3.x

While attempting to use Rails.cache.write using MemcachedStore, writes with strings fail consistently with MemCacheError () . Reads occasionally succeed for some odd reason.

Only seems to happen on Ubuntu Intrepid ( production environment ), with memcached 1.2.2. Cannot reproduce on OS X 10.5 with memcached 1.2.6.

Upgrading to memcached 1.2.8 appears to work

Removing Ubuntu's default memcached 1.2.2 and replacing it with a custom-compiled 1.2.8 seems to have fixed the issues. So far anyway. This solution will be updated if the issue recurs.

Think you've got a better solution? Help 92049143cabb7ba896d7c06e19906303_small yliu out by posting your solution