phpredis - redis意外无法连接问题
迷茫
迷茫 2017-04-21 11:16:57
0
2
738

业务端报出的问题:
有的机器出现Uncaught exception 'RedisException' with message 'Redis server went away'
还有些出现 Uncaught exception 'RedisException' with message 'socket error on read socket'
时间点
都是03:03-03:07这个时间段,但这个时间点并无网络堵塞,连接较之白天也无异常增加等情况~~ 请教给为大牛该如何分析这样的故障?

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(2)
伊谢尔伦

Does your redis have a large amount of data? Have you enabled scheduled writing of rdb or enabled aof log? Check the load on redis and see if there are any abnormalities in disk IO.

左手右手慢动作

I have encountered problems with MySQL during a fixed time period in the early morning. After a long investigation, I found that the problem was caused by Alibaba Cloud's server doing backups in the early morning. Fixed in this time period, generally speaking, it is caused by background scheduled tasks (various scheduled tasks of the host service provider or itself).

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!