Mantis - Resin
Viewing Issue Advanced Details
4252 minor always 10-08-10 12:17 11-16-10 10:29
ferg  
ferg  
normal  
closed 4.0.10  
fixed  
none    
none 4.0.14  
0004252: connectionpool overflow
(rep by Wesley Wu)

I experienced ConnectionPool pool overflow issue again in resin 4.0.10.
>
> Some time (probably 20 minutes) after resin started, resin reported:
>
> [10-10-08 01:07:28.555] {server://*:6801-5523} [^]
> ConnectionPool[jdbc/mypool] pool overflow
> [10-10-08 01:07:28.555] {server://*:6801-5109} [^]
> ConnectionPool[jdbc/mypool] pool overflow
> [10-10-08 01:07:28.557] {server://*:6801-5435} [^]
> ConnectionPool[jdbc/mypool] pool overflow
> [10-10-08 01:07:28.557] {server://*:6801-5494} [^]
> ConnectionPool[jdbc/mypool] pool overflow
> [10-10-08 01:07:28.568] {server://*:6801-5520} [^]
> ConnectionPool[jdbc/mypool] pool overflow
> [10-10-08 01:07:28.568] {server://*:6801-5542} [^]
> ConnectionPool[jdbc/mypool] pool overflow
> [10-10-08 01:07:28.576] {server://*:6801-5633} [^]
> ConnectionPool[jdbc/mypool] pool overflow
>
> but my pool was not full at all which size was 2000.
>
> I met this before in resin 4.0.9 which caused by the alarm issue.
>
> Then I switched back to Resin 4.0.9.s100809 and everything went fine.
>

Notes
(0004847)
ferg   
11-16-10 10:29   
The "overflow" is somewhat misleading. Resin's pool throttles the number of new connections being created at any one time. If the 30s timeout occurs before that throttle, Resin will create a new connection anyway.

4.0.14 increases the throttle to 20 from the old 5.