- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Redis - Error cleaning cache by mode matcingAnyTag: read error on connection
Sporadically, when cleaning cache (System -> Cache Management -> select one or all to refresh -> Submit), I receive an error: "Error cleaning cache by mode matcingAnyTag: read error on connection".
Trying to track down where the error is thrown, I found:
Zend_Cache::throwException('Error cleaning cache by mode '.$mode.': '.$e->getMessage(), $e);
~ on line 655 of lib/Cm/Cache/Backend/Redis.php.
I have found limited information on this issue searching. What I have found has told me to look at some settings:
redis.conf: timeout 0 - what it should be (?)
ulimit -n 1024
php.ini: default_socket_timeout 600 - believe that -1 is unlimited.
Most of this is based on https://github.com/phpredis/phpredis/issues/70..
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Redis - Error cleaning cache by mode matcingAnyTag: read error on connection
I read this article
I check this patch
For 2.4.5-p2 we just login to cloud and do
bin/magento cache:flush config
bin/magento cache:flush full_page
And then we try again
bin/magento cache:clean
It works again!