I'm getting redis cache issue on apply the catalog rules from backend. The error is "read error on connection". Can anyone suggest the solution?

1 Answer 1


The solution (atleast for us) was to add a read_timeout config option in app/etc/local.xml where you have configured Redis cache for Magento.

                <read_timeout>10</read_timeout><!--add this-->

A few things to try:

Make sure persistent redis connections are not enabled. This can cause issues with Magento (check your local.xml file).

In your redis.conf file, make sure the timeout is set to zero "timeout 0".

Check your php.ini to make sure the default socket timeout is not set to some small positive number "default_socket_timeout".

Check the value of "/proc/sys/vm/overcommit_memory" on your server. If it's zero, try upping it to 1. This will allow Redis to commit changes to the disk backup if you're using it even if enough RAM is not present for a full commit.

I hope this will help you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.