Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Does SQL Server 2005 Clean Up Unclosed Connections?
Hi all,

I have a quick question with regards to how SQL Server (2005) will treat
conncetions that are left open (due to a programmer forgetting to close
them in a .net web app).

I'm basically wondering if they'll just sit their indefinately, or will
SQL Server kill them after a period of inactivity? If it will eventually
kill them off, what is the period of time that it will wait for?

Thanks to anyone who can advise

Simon

Report this thread to moderator Post Follow-up to this message
Old Post
Simon Harvey
12-13-06 10:18 AM


Re: Does SQL Server 2005 Clean Up Unclosed Connections?
SQL Server will kill (first rollback if necessary) the connections when the 
network layer had
informed that this is no more.

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www. solidqualitylearning
.com/


"Simon Harvey" <nothanks@hotmail.com> wrote in message
news:%23k1h3RqHHHA.420@TK2MSFTNGP02.phx.gbl...
> Hi all,
>
> I have a quick question with regards to how SQL Server (2005) will treat c
onncetions that are left
> open (due to a programmer forgetting to close them in a .net web app).
>
> I'm basically wondering if they'll just sit their indefinately, or will SQ
L Server kill them after
> a period of inactivity? If it will eventually kill them off, what is the p
eriod of time that it
> will wait for?
>
> Thanks to anyone who can advise
>
> Simon



Report this thread to moderator Post Follow-up to this message
Old Post
Tibor Karaszi
12-14-06 12:12 AM


Re: Does SQL Server 2005 Clean Up Unclosed Connections?
Hi there

OK - now what will cause the network layer that the connection is no
more? The application or website being restarted?

Thanks

Simon

Tibor Karaszi  wrote:
> SQL Server will kill (first rollback if necessary) the connections when th
e network layer had
> informed that this is no more.
>

Report this thread to moderator Post Follow-up to this message
Old Post
Simon Harvey
12-14-06 12:12 AM


Re: Does SQL Server 2005 Clean Up Unclosed Connections?
I guess that is more a question to the networking people. But if you termina
te the application, I'd
assume that the network layer will report that the TCP session (for instance
) has been terminated.

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www. solidqualitylearning
.com/


"Simon Harvey" <nothanks@hotmail.com> wrote in message news:Or9TxGtHHHA.1784@TK2MSFTNGP06.p
hx.gbl...
> Hi there
>
> OK - now what will cause the network layer that the connection is no more?
 The application or
> website being restarted?
>
> Thanks
>
> Simon
>
> Tibor Karaszi wrote: 



Report this thread to moderator Post Follow-up to this message
Old Post
Tibor Karaszi
12-14-06 12:12 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 10:10 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006