Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / January 2006

Tip: Looking for answers? Try searching our database.

stale connections

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sumanth - 26 Jan 2006 14:52 GMT
Have anyone seen this before.., we are seeing a lot of orpahn DB2
connections when the client terminates abnormally?
should'nt the underlying TCP/IP mechanism terminate the connection? or is
there any setting in DB2 that I need to change.

Thanks for your help in advance.

-Sumanth
Art S. Kagel - 26 Jan 2006 23:18 GMT
> Have anyone seen this before.., we are seeing a lot of orpahn DB2
> connections when the client terminates abnormally?
> should'nt the underlying TCP/IP mechanism terminate the connection? or is
> there any setting in DB2 that I need to change.

If these are Windows clients it's a pretty common problem.  Windows sockets
library does not automatically shutdown the task's connections when a
process terminates.  So, if the programmer did not trap the exit request and
explicitely shutdown the TCP connections, the DB server will still see them
until the local TCP stack times out the connections as inactive.  Depending
on the OS the server is running on (some OS's have tuning parameters in the
TCP/IP setup) this can take from 10 minutes to over an hour.

Art S. Kagel
Brian Tkatch - 30 Jan 2006 15:17 GMT
Would TERMINATE be of any help?

B.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.