热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

redissubscribe持久化

root@vagrant-ubuntu-trusty-64:varwwwqueueing#phpmonitor.phpPHPFatalerror:Uncaughtexception'RedisException'withmessage'Redisserverwentaway'invarwwwqueueingmonitor.php:18Stack...
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...

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

推荐阅读
author-avatar
陈佩儒61473
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有