• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DB Connections max out

 
Nit Kul
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am new to DB.
I have database connections max exceeding out. I have many different nodes of server, balanced by load balancer.
I get max connection pool someitmes, which I see 32 (maxed out).

They dont get reset, even after webserver restart. Looks like they have hung in the db server after the query is sent.
Please help. Would like to know what is causing it? why are the connections not resetting after webserver restart?

N
 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nit, welcome to Java Ranch!

Which application/web server? Once you let us know, I'll move this discussion to the forum for that server.
 
Tim McGuire
Ranch Hand
Posts: 820
IntelliJ IDE Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you always call connection.close()?

please display the code you use to open and use a JDBC connection.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic