Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jedis connection in block state #1974

Closed
sagarsitap596 opened this issue Apr 17, 2019 · 1 comment
Closed

Jedis connection in block state #1974

sagarsitap596 opened this issue Apr 17, 2019 · 1 comment

Comments

@sagarsitap596
Copy link

I have JedisCluster with 3 shards and 1 repilica each with below pool

final JedisPoolConfig poolConfig = new JedisPoolConfig();
poolConfig.setMaxTotal(200);
poolConfig.setMaxIdle(200);
poolConfig.setMinIdle(16);
return poolConfig;

My application is making around 5-7 lacs of request per minute to redis (insert/update/delete key) over multiple threads (15-20).

After some time one of jedis connection thread doesn't respond. When I trace down the thread trace I found :

java.util.concurrent.locks.abstractqueuedsynchronizer$conditionobject.await()

Is it because jedis connection pool is exausted?
Do I need to increase connection pool size ?

@sagarsitap596 sagarsitap596 changed the title Jedis connection in block block state Jedis connection in block state Apr 17, 2019
@sazzad16
Copy link
Collaborator

sazzad16 commented Apr 6, 2021

It seems to be related to:

@sazzad16 sazzad16 closed this as completed Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants