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

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排查


请使用浏览器的分享功能分享到微信等