Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How does SQL Server clear up orphaned connections?

user-image
Question added by asif ali , Senior Marketing Manager & IT Administration , BEXIMCO GROUP (BEXTRADE LIMITED)
Date Posted: 2019/02/14
asif ali
by asif ali , Senior Marketing Manager & IT Administration , BEXIMCO GROUP (BEXTRADE LIMITED)

t doesn’t. SQL Server never terminates a connection unless explicitly told to do so (i.e., by a user, by a KILL command, or by the operating system informing it that the network connection has been disconnected).

The length of time it takes for the operating system to kill a network connection can vary greatly. It largely depends on the net-lib and network protocol used.

Typically, named pipe connections over NetBEUI will time out quickly. Named pipes over IP will time out almost as quickly as well. If you’re using TCP/IP sockets, those sessions don’t time out at all by default.

More information on troubleshooting orphaned connections in SQL Server is available here.

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.