Link to home
Create AccountLog in
Avatar of Chandan Pratihast
Chandan PratihastFlag for Japan

asked on

dbcp2 getCinnection wait

Hi

We are using dbcp2.x as connection pool library. Have set the property of maxActive as 100. When we run 20 threads in parallel, 2 threads keep waiting for connection and never gets it!!

Is this kind of issues already known as bug in dbcp2?
Kindly share if you have come across with similar issue.

Thanks.
Avatar of girionis
girionis
Flag of Greece image

How do you know that 2 threads are waiting for connections?
ASKER CERTIFIED SOLUTION
Avatar of Chandan Pratihast
Chandan Pratihast
Flag of Japan image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Chandan Pratihast

ASKER

Increasing the initial size worked