Skip to content

redis.clients.jedis.exceptions.JedisException: Could not get a resource from the pool Caused by: java.util.NoSuchElementException: Timeout waiting for idle object #1929

@ghost

Description

Expected behavior

While running with heavy load , we are facing this issue . When we tried to increase the number of connections, the throughput is very high. (from ms to sec)

Actual behavior

Write here what happens instead ...

Steps to reproduce:

Please create a reproducible case of your problem. Make sure
that case repeats consistently and it's not random
1.
2.
3.

Redis / Jedis Configuration

        JedisPoolConfig poolConfig = new JedisPoolConfig();
    poolConfig.setMaxTotal(200);
    poolConfig.setMaxIdle(100);
    poolConfig.setBlockWhenExhausted(true);
    poolConfig.setMaxWaitMillis(1000);
    poolConfig.setMinIdle(50);

Jedis version: 2.8.2

Redis version: 3.2.4

Java version: 8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions