While loadtesting with a mix of calls to our various APIs, the clients locked up and 
the log said out of memory. This surprised us, because we had never seen out of memory 
in the logs before, only in a command window--and not at all when running as a 
service. It turned out that what had actually happened was that the pool of database 
connections had been exhausted. Enlarging the database pool fixed the problem, but we 
were very lucky to have been able to diagnose the problem, particularly because the 
out of memory error was so misleading (and because we couldn't turn on logging, 
because that serialized requests, making the problem go away). We wasted several days 
trying to chase down a non-existent memory leak. We request that a more useful 
exception be thrown (something like Database Connection Pool Size Exhausted would have 
been a huge help) and/or that the pool size automatically grow in response to load. 
This is our first bug report, so we're not sure if this is how bugs are supposed to be 
reported. If not, please provide guidance for how to properly submit bug reports, and 
we will follow that procedure from now one (we tried to find instructions on the site, 
but didn't see anything about bug reporting). We searched the site for any mention of 
database connection pool and out of memory error, but didn't find anything. Are we the 
first to report this problem? We are using version 3.0.7. Is this problem already 
fixed in a later version?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831199#3831199

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831199


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to