colinmollenhour / Cm_Cache_Backend_Redis

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

Continuous error: Read error on connection and logged out backend (after upgrade) #84

Closed seansan closed 9 years ago

seansan commented 9 years ago

Since upgrade (some days ago) we see many logging

\ Next exception 'CredisException' with message 'read error on connection'

\ and users complaining about being logged out in backend

Logging below

Next exception 'CredisException' with message 'read error on connection' in /home/shirts350/domains/webstore.com/public_html/.modman/Cm_RedisSession/lib/Credis/Client.php:919 Stack trace:

0 /home/shirts350/domains/webstore.com/public_html/.modman/Cm_RedisSession/lib/Credis/Client.php(586): Credis_Client->__call('select', Array)

1 /home/shirts350/domains/webstore.com/public_html/.modman/Cm_RedisSession/code/Model/Session.php(415): Credis_Client->select(2)

2 [internal function]: Cm_RedisSession_Model_Session->write('ec31cf667c0b8f1...', '')

3 /home/shirts350/domains/webstore.com/public_html/app/code/core/Mage/Core/Model/Resource/Session.php(97): session_write_close()

4 [internal function]: Mage_Core_Model_Resource_Session->__destruct()

5 {main}

2015-01-14T11:05:51+00:00 ERR (3): exception 'RedisException' with message 'read error on connection' in /home/shirts350/domains/webstore.com/public_html/.modman/Cm_RedisSession/lib/Credis/Client.php:901 Stack trace:

0 [internal function]: Redis->select(2)

1 /home/shirts350/domains/webstore.com/public_html/.modman/Cm_RedisSession/lib/Credis/Client.php(901): call_user_func_array(Array, Array)

2 /home/shirts350/domains/webstore.com/public_html/.modman/Cm_RedisSession/lib/Credis/Client.php(586): Credis_Client->__call('select', Array)

3 /home/shirts350/domains/webstore.com/public_html/.modman/Cm_RedisSession/code/Model/Session.php(415): Credis_Client->select(2)

4 [internal function]: Cm_RedisSession_Model_Session->write('3c0ca6f2d3d4c56...', '')

5 /home/shirts350/domains/webstore.com/public_html/app/code/core/Mage/Core/Model/Resource/Session.php(97): session_write_close()

6 [internal function]: Mage_Core_Model_Resource_Session->__destruct()

7 {main}

colinmollenhour commented 9 years ago

This is the cache backend repo but your error appears to be in the session handler. Please make sure you are using the latest and report on the correct project.

seansan commented 9 years ago

Hi Collin, thanks. Yes I posted it again. Sorry.

About Cm_Cache_Backend_Redis, what does it do exactly?

Hint: maybe you could add something about this in the readme. Was not clear to me.

Hope it helps

On Fri, Jan 23, 2015 at 9:14 PM, Colin Mollenhour notifications@github.com wrote:

Closed #84 https://github.com/colinmollenhour/Cm_Cache_Backend_Redis/issues/84.

— Reply to this email directly or view it on GitHub https://github.com/colinmollenhour/Cm_Cache_Backend_Redis/issues/84#event-223939200 .