-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate performance issue (no enough jdbc connection)
PostPosted: Sun Jun 14, 2009 5:24 am 
Newbie

Joined: Sun Jun 14, 2009 5:09 am
Posts: 3
Hi all, I'm using jboss 4.2.2 and facing performance issue.

My jboss handles about 100 HTTP request per/seconds and for each HTTP request, a couple of database query will be executed with hibernate. I have configed the size of jdbc connection pool as 50~140.

At the begging, jboss serves all requests well and only 50 jdbc connections are used. But after a while (about one hour), the number of free jdbc connections become less and less, at last all jdbc connection have been occupied and jboss doesn't work. Also I find before jboss stops working, the number of globally PreparedStatements increases a lot (from 0 to 6000), and then more and more free jdbc connection have been occupied. At the end, no free jdbc connections.

There is nothing strange in memory and CPU of the machine.

Do you have any idea about this?

Thank you very much!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.