redis拒绝服务、报max number of clients reached问题

上午测试服崩了,redis拒绝服务、报max number of clients reached  。

查看配置redis.conf , maxclients 设置10000, 监控看上午11:09,连接数达到峰值10000,服务崩溃。


然后重启redis服务、暂时正常不影响使用。

修改过redis  connect(host,port,timeout) ; 过期时间timeout,为60秒,但问题似乎没起作用,redis连接数一直在增长。


问题还没解决,记录一下。



问题二:日志显示写redis失败、未知原因、记录一下

ERROR - 2016-04-24 15:57:48 --> Severity: Error --> Allowed memory size of 33554432 bytes exhausted (tried to allocate 3129586 bytes) /data/web/online/application/models/mirror/UploadLocation.php 80
ERROR - 2016-04-24 15:57:50 --> 404 Page Not Found: Api/v1
ERROR - 2016-04-24 15:57:50 --> Severity: Error --> Allowed memory size of 33554432 bytes exhausted (tried to allocate 3129586 bytes) /data/web/online/application/models/mirror/UploadLocation.php 80
ERROR - 2016-04-24 15:57:51 --> Severity: Error --> Allowed memory size of 33554432 bytes exhausted (tried to allocate 3129586 bytes) /data/web/online/application/models/mirror/UploadLocation.php 80
ERROR - 2016-04-24 15:57:52 --> Severity: Error --> Allowed memory size of 33554432 bytes exhausted (tried to allocate 3129586 bytes) /data/web/online/application/models/mirror/UploadLocation.php 80
ERROR - 2016-04-24 15:57:52 --> Severity: Error --> Allowed memory size of 33554432 bytes exhausted (tried to allocate 3129586 bytes) /data/web/online/application/models/mirror/UploadLocation.php 80


猜你喜欢

转载自my.oschina.net/u/1377923/blog/664939