码迷,mamicode.com
首页 > 其他好文 > 详细

RedisTimeoutException: Unable to send command

时间:2020-07-10 19:31:04      阅读:259      评论:0      收藏:0      [点我收藏+]

标签:net   scl   iss   sof   nsa   方法   reads   设置   org   

应用访问redis报错如下:
org.redisson.client.RedisTimeoutException: Unable to send command! Try to increase ‘nettyThreads‘ and/or connection pool size settings Node source: NodeSource [slot=0, addr=null, redisClient=null, redirect=null, entry=MasterSlaveEntry [masterEntry=[freeSubscribeConnectionsAmount=0, freeSubscribeConnectionsCounter=value:49:queue:0, freeConnectionsAmount=18, freeConnectionsCounter=value:9994:queue:0, freezed=false, freezeReason=null,

解决方法:
设置/etc/security/limits.conf

  • soft nofile 65535
  • hard nofile 65535
  • soft nproc 65535
  • hard nproc 65535

RedisTimeoutException: Unable to send command

标签:net   scl   iss   sof   nsa   方法   reads   设置   org   

原文地址:https://blog.51cto.com/roidba/2509982

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!