DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39314>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39314


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From [EMAIL PROTECTED]  2006-04-14 21:26 -------
maxActive limits the number of concurrently "active" poolable objects, aka
"borrowed" objects. It does not limit the total number of objects created by
makeObject for the pool.

Where you are getting confused is that GenericObjectPool has a default limit of
8 idle objects. What is happening is with your 1500 threads there will be at
most  POOLSIZE (20) active PoolWorker objects and up to 8 idle PoolWorker
objects for a total of 28 PoolWorker instances. When an active object is
returned, the idle pool may be full thus a PoolWorker is discarded. Then when
the idle pool is empty another but the number of active instances is under 20
anthor PoolWorker object will be created via makeObject.

Reopen this if you think I misunderstood you.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to