Skip to content

Java 21 and Virtual Threads: Timeout waiting for idle object #3905

Description

@qyyxl

Actual behavior

The following error occurs when I change the application's business thread to a virtual thread and the traffic suddenly increases:

	Caused by: java.util.NoSuchElementException: Timeout waiting for idle object
		at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:461)
		at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:375)
		at redis.clients.util.Pool.getResource(Pool.java:49)
		at credis.java.client.pool.impl.CRedisJedisPool.getResource(CRedisJedisPool.java:103)

Redis / Jedis Configuration

Java version:jdk21

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull request that updates a dependency

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions