欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

redis subscribe 持久化

程序员文章站 2022-06-11 19:55:59
...
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://*.com/questions/24985156/fatal-error-uncaught-excep...

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