Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Sybase > isClosed and la...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 2399 of 2512
Post > Topic >>

isClosed and large numbers of connections

by apm35@[EMAIL PROTECTED] Feb 6, 2008 at 06:40 AM

I am working on a java application that uses sybase. It employs an in-
house database connection pool which uses the Connection.isClosed
method for checking to see if a connection is valid still.
Occasionally this call hangs on a blocking socket read. I am trying to
find out why.

I see from sp_configure that a maximum of 2000 concurrent sessions are
allowed. Over the course of a day the number of sessions taken by this
app gets close to 1000. Can anyone think of specific reasons why this
might be a problem?

Some on our project has said there will be no problem until that limit
is reached then the client will get an error when trying to get a new
connection. The attempt would be rejected, presumably with an error
along the lines of maximum number of connections reached.

Someone else on the project said they had heard that sybase can have
problems when the connection limit is large and reaches half its
configured value, which is the situation I have.

Regards,

Andrew Marlow
 




 3 Posts in Topic:
isClosed and large numbers of connections
apm35@[EMAIL PROTECTED]   2008-02-06 06:40:53 
Re: isClosed and large numbers of connections
David Kerber <ns_dkerb  2008-02-07 09:33:04 
Re: isClosed and large numbers of connections
apm35@[EMAIL PROTECTED]   2008-02-08 04:47:11 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Thu Jul 24 2:22:31 CDT 2008.