Redis与magento问题

任何人都可以帮助我…我有nginx和php-fpm运行的magento网站。 我为magentoconfiguration了2个redis实例。 但我得到以下错误。

Magento报告

#################################################### a:4:{i:0;s:24:"read error on connection";i:1;s:2003:"#0 <doc_root>/lib/Credis/Client.php(440): Credis_Client->__call('select', Array) #################################################### 

并在nginx错误日志中

2016/04/29 05:58:44 [error] 5941#0:* 829068从上游读取响应头时,recv()失败(104:由对等方重置连接)client:,server:www.mysite.com,request :“POST /index.php/api/index/index/ HTTP / 1.1”,上游:“fastcgi://127.0.0.1:9000”,主机:“www.mysite.com”

请提供我解决这个问题我也尝试通过增加读取超时值在local.xml到30,但仍然得到这个错误。

你在运行什么操作系统? 在我的情况下,我使用Debian wheezy,我需要让舒尔我已经安装了包“php5-redis”。 这是为了使redis和本地的php fpm用credis库进行交stream。 如果你不知道如何安装这个包,在local.xml中改变<force_standalone>0</force_standalone><force_standalone>1</force_standalone>来使用php(慢)代替credis