redis拒絕服務、報max number of clients reached問題

上午測試服崩了,redis拒絕服務、報max number of clients reached  。php

查看配置redis.conf , maxclients 設置10000, 監控看上午11:09,鏈接數達到峯值10000,服務崩潰。web


而後重啓redis服務、暫時正常不影響使用。redis

修改過redis  connect(host,port,timeout) ; 過時時間timeout,爲60秒,但問題彷佛沒起做用,redis鏈接數一直在增加。app


問題還沒解決,記錄一下。
測試



問題二:日誌顯示寫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 80it

相關文章
相關標籤/搜索