ITPub博客

首页 > 数据库 > NoSQL > jedis异常:Could not get a resource from the pool

jedis异常:Could not get a resource from the pool

原创 NoSQL 作者:haoge0205 时间:2020-03-10 22:47:41 0 删除 编辑

1.jedis机器-->ping-->redis机器,毫秒级的响应时间----网络畅通


2.使用netstat -apn |grep redis-server连接数为20多个--网络连接数正常


3.free  -m内存使用率60%---(表面上)内存够用


4.df     -h磁盘使用率15%---磁盘空间充足


5.使用redis-cli,执行info命令,client部分:

#Clients

connected_clients:18

client_longest_output_list:0

client_biggest_input_buf:0

blocked_clients:0

clients数量也正常 


6.使用redis-cli,执行ping命令


7.连接数不正常

通过slowlog get 或者 monitor排查


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28939273/viewspace-2679508/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2013-11-28

  • 博文量
    300
  • 访问量
    1893459