-->
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.  [ 3 posts ] 
Author Message
 Post subject: Losing connection to db with many users
PostPosted: Wed Jul 23, 2008 3:15 am 
Newbie

Joined: Fri May 23, 2008 5:20 am
Posts: 11
Location: Minusio, Switzerland
Hi all,
I'm using tomcat 6 + mysql + c3p0 connection pools + hibernate.
If i test my web application with Apache JMeter simulating 100 users (threads?!) in a page, after 5-30 seconds i will lose the connection to db.
If I redeploy the application it work again... In the tomcat manager I see 15'000/18'000 sessions :S
Please help me and sorry for my bad english

_________________
- ianaz -

http://www.ianaz.ch


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 25, 2008 3:16 am 
Expert
Expert

Joined: Tue May 13, 2008 3:42 pm
Posts: 919
Location: Toronto & Ajax Ontario www.hibernatemadeeasy.com
You say it works again, but does the simulation still trigger the same problem?

_________________
Cameron McKenzie - Author of "Hibernate Made Easy" and "What is WebSphere?"
http://www.TheBookOnHibernate.com Check out my 'easy to follow' Hibernate & JPA Tutorials


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 25, 2008 4:09 am 
Newbie

Joined: Fri May 23, 2008 5:20 am
Posts: 11
Location: Minusio, Switzerland
Yes...

_________________
- ianaz -

http://www.ianaz.ch


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

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.