首页 > 其他 > 详细

RedisTimeoutException: Unable to send command

时间:2020-07-10 18:15:18      阅读:1102      评论:0      收藏:0      [点我收藏+]
应用访问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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!