gatewayworker用redis报错

浏览:1074 发布日期:2020/05/07 分类:求助交流 关键字: tp5 gatewayworker workerman redis
tp5+gatewayworker做长连接,缓存默认改为redis缓存,然后也用原生的redis存储其他类型的数据和做一些并发处理,然后workerman这边时不时的报redis错误2020-05-07 02:15:39 pid:3383 Worker[3383] process terminated
2020-05-07 02:15:39 pid:1260 worker[Worker:3383] exit with status 64000
2020-05-07 02:22:53 pid:21042 RedisException: read error on connection in /www/xxx/thinkphp/library/think/cache/driver/Redis.php:85
Stack trace:
#0 /www/xxx/thinkphp/library/think/cache/driver/Redis.php(85): Redis->get('think:xxx...')
#1 /www/xxx/thinkphp/library/think/Cache.php(133): think\cache\driver\Redis->get('think:xxx...', false)
#2 /www/xxx/thinkphp/library/think/db/Query.php(2430): think\Cache::get('think:xxx...')
#3 /www/xxx/thinkphp/library/think/db/Query.php(642): think\db\Query->update(Array)
#4 /www/xxx/application/gateway/controller/Events.php(216): think\db\Query->setField('is_online', 1)
最佳答案
评论( 相关
后面还有条评论,点击查看>>