colinmollenhour / Cm_Cache_Backend_Redis

A Zend_Cache backend for Redis with full support for tags (works great with Magento)
Other
387 stars 143 forks source link

Redis Error with Magento FPC: Lost connection to Redis server. #81

Closed pankajkumar2 closed 9 years ago

pankajkumar2 commented 9 years ago

I am using lesti FPC with redis as cache server. And memcache as first level cache/redis also as second level cache for magento two level cache. I usually get this error on my exception log, which always originates from

/opt/lampp/htdocs/kartbin/app/code/community/Lesti/Fpc/Model/Fpc.php(67):

This problem happens like once every hour, meaning front end renders a page which show user report instead of actual page. If user reloads the same page again, it works. So, it does not stop anything, but happening frequently makes bad user experience.

I know this problem, might not be at all related to lesti FPC module, but may be totally redis fault. But I wanted to confirm if this issue could be resolved. Please let me know what can i do to resolve this.

Trace:

0 /opt/lampp/htdocs/kartbin/lib/Credis/Client.php(499): Credis_Client->read_reply(‘expire’)

1 /opt/lampp/htdocs/kartbin/app/code/community/Cm/Cache/Backend/Redis.php(335): Credis_Client->__call(‘exec’, Array)

2 /opt/lampp/htdocs/kartbin/app/code/community/Cm/Cache/Backend/Redis.php(335): Credis_Client->exec()

3 /opt/lampp/htdocs/kartbin/lib/Zend/Cache/Core.php(390): Cm_Cache_Backend_Redis->save(‘a:2:{s:4:”body”…’, ’86a_3D66BCDF444…’, Array, 86400)

4 /opt/lampp/htdocs/kartbin/lib/Varien/Cache/Core.php(145): Zend_Cache_Core->save(‘a:2:{s:4:”body”…’, ‘3D66BCDF4442C4A…’, Array, 86400, 8)

5 /opt/lampp/htdocs/kartbin/app/code/community/Lesti/Fpc/Model/Fpc.php(67): Varien_Cache_Core->save(‘a:2:{s:4:”body”…’, ‘3D66BCDF4442C4A…’, Array, 86400)

6 /opt/lampp/htdocs/kartbin/app/code/community/Lesti/Fpc/Model/Observer.php(153): Lesti_Fpc_Model_Fpc->save(‘a:2:{s:4:”body”…’, ‘3d66bcdf4442c4a…’, Array)

7 /opt/lampp/htdocs/kartbin/app/code/core/Mage/Core/Model/App.php(1338): Lesti_Fpc_Model_Observer->httpResponseSendBefore(Object(Varien_Event_Observer))

8 /opt/lampp/htdocs/kartbin/app/code/core/Mage/Core/Model/App.php(1317): Mage_Core_Model_App->_callObserverMethod(Object(Lesti_Fpc_Model_Observer), ‘httpResponseSen…’, Object(Varien_Event_Observer))

9 /opt/lampp/htdocs/kartbin/app/Mage.php(448): Mage_Core_Model_App->dispatchEvent(‘http_response_s…’, Array)

10 /opt/lampp/htdocs/kartbin/app/code/core/Mage/Core/Controller/Response/Http.php(82): Mage::dispatchEvent(‘http_response_s…’, Array)

11 /opt/lampp/htdocs/kartbin/app/code/core/Mage/Core/Controller/Varien/Front.php(184): Mage_Core_Controller_Response_Http->sendResponse()

12 /opt/lampp/htdocs/kartbin/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()

13 /opt/lampp/htdocs/kartbin/app/Mage.php(684): Mage_Core_Model_App->run(Array)

14 /opt/lampp/htdocs/kartbin/index.php(87): Mage::run(”, ‘store’)

15 {main}

GordonLesti commented 9 years ago

@pankajkumar2 I mean you should create an issue at https://github.com/GordonLesti/Lesti_Fpc/issues