If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Informix JDBC - connection count rising

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-27-04, 11:52
algreasley algreasley is offline
Registered User
 
Join Date: Nov 2004
Posts: 1
Informix JDBC - connection count rising

We are using the Informix JDBC Driver (2.21) against Informix 9.30 FC6XD DB.

We have recently upgraded to JC6 from JC3 and now see our connection count rising out of control (around 1000 we get connection failures)

Has anyone seen behaviour like this - any ideas?

thanks

Alan
Reply With Quote
  #2 (permalink)  
Old 12-03-04, 11:28
Amit Dandekar Amit Dandekar is offline
Registered User
 
Join Date: Oct 2003
Posts: 29
Check the logic in your application.
I am guessing the application never calls close on connection after its done using it. Application may be losing the referenbce to connection object without calling close() on it.

If you don't call close on the connection object you got , the pool will continue to hold a reference to it assuming that its still in use.
And create a new connection every time a new connection request is made.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On