【发布时间】:2015-01-26 09:26:55
【问题描述】:
几天以来,我经常收到以下错误
apache2: PHP Fatal error: Uncaught exception 'CredisException' with message 'Lost connection to Redis server.' in /pathtomagento/lib/Credis/Client.php:693#012Stack trace:#012#0 /pathtomagento/lib/Credis/Client.php(538): Credis_Client->read_reply('select')#012#1 /pathtomagento/lib/Credis/Client.php(440): Credis_Client->__call('select', Array)#012#2 /pathtomagento/app/code/community/Cm/Cache/Backend/Redis.php(135): Credis_Client->select(0)#012#3 /pathtomagento/lib/Zend/Cache.php(153): Cm_Cache_Backend_Redis->__construct(Array)#012#4 /pathtomagento/lib/Zend/Cache.php(94): Zend_Cache::_makeBackend('Cm_Cache_Backen...', Array, true, true)#012#5 /pathtomagento/app/code/local/NBSSystem/Nitrogento/Model/Core/Cache.php(28): Zend_Cache::factory('Varien_Cache_Co...', 'Cm_Cache_Backen...', Array, Array, tr in /pathtomagento/lib/Credis/Client.php on line 693
这个错误会使我的服务器崩溃,因为所有来自 apache 的客户端都在使用。
这是在 Magento 1.8.1 CE 上。 Apache 2.2.22、PHP 5.3.10-1ubuntu3.15、redis-cli 2.2.12
有谁知道怎么回事?
【问题讨论】:
标签: php apache magento redis fatal-error