Home  >  Article  >  Backend Development  >  redis subscribe 持久化

redis subscribe 持久化

WBOY
WBOYOriginal
2016-06-06 20:30:311203browse

root@vagrant-ubuntu-trusty-64:/var/www/queueing# php monitor.php
PHP Fatal error: Uncaught exception 'RedisException' with message 'Redis server went away' in /var/www/queueing/monitor.php:18
Stack trace:

0 /var/www/queueing/monitor.php(18): Redis->subscribe(Array, 'callback')

刚开始是好的,一分钟以后会报这个错误

回复内容:

root@vagrant-ubuntu-trusty-64:/var/www/queueing# php monitor.php
PHP Fatal error: Uncaught exception 'RedisException' with message 'Redis server went away' in /var/www/queueing/monitor.php:18
Stack trace:

0 /var/www/queueing/monitor.php(18): Redis->subscribe(Array, 'callback')

刚开始是好的,一分钟以后会报这个错误

到Google搜索你可以得到这个答案:
https://www.google.com/search?newwindow=1&es_sm=93&q=Redis+ser...
比如:
http://stackoverflow.com/questions/24985156/fatal-error-uncaught-excep...

伸手党任何地方都不被欢迎

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn