首頁  >  文章  >  後端開發  >  redis subscribe 持久化

redis subscribe 持久化

WBOY
WBOY原創
2016-06-06 20:30:311209瀏覽

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...

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

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn