dragonwell-project / dragonwell8

Alibaba Dragonwell8 JDK
http://dragonwell-jdk.io
GNU General Public License v2.0
4.21k stars 497 forks source link

[Bug] 开启wisp redis报ClosedByInterruptException #591

Open slqx opened 1 year ago

slqx commented 1 year ago

Description 开启wisp之后,redis连接报ClosedByInterruptException,关闭后正常

Steps to Reproduce

Caused by: redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool at redis.clients.util.Pool.getResource(Pool.java:42) at xxx(内部类) ... 24 common frames omitted Caused by: redis.clients.jedis.exceptions.JedisConnectionException: java.nio.channels.ClosedByInterruptException at redis.clients.jedis.Connection.connect(Connection.java:142) at redis.clients.jedis.BinaryClient.connect(BinaryClient.java:75) at redis.clients.jedis.BinaryJedis.connect(BinaryJedis.java:1724) at xxx(内部类) at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:833) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:429) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:360) at redis.clients.util.Pool.getResource(Pool.java:40) ... 25 common frames omitted Caused by: java.nio.channels.ClosedByInterruptException: null at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:202) at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:696) at sun.nio.ch.WispSocketImpl.connect(WispSocketImpl.java:82) at java.net.Socket.connect(Socket.java:641) at redis.clients.jedis.Connection.connect(Connection.java:137) ... 32 common frames omitted

JDK version openjdk version "1.8.0_372" OpenJDK Runtime Environment (Alibaba Dragonwell Extended Edition 8.15.16) (build 1.8.0_372-b01) OpenJDK 64-Bit Server VM (Alibaba Dragonwell Extended Edition 8.15.16) (build 25.372-b01, mixed mode)

Execution environment LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: CentOS Description: CentOS Linux release 7.3.1611 (Core) Release: 7.3.1611 Codename: Core