Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Findout timeout root cause
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Constraint Violating Yak Guru

498 Posts

Posted - 03/06/2013 :  11:11:53  Show Profile  Reply with Quote

We had timeout for one application connnected to sql server 2005. How to find out what cauased that timeout? where to check?


James K
Flowing Fount of Yak Knowledge

3873 Posts

Posted - 03/06/2013 :  11:20:03  Show Profile  Reply with Quote
Was there an error message/call stack from the application? If they were catching the exceptions, it should give you a little bit more detail about where it happened.

When you connect to SQL Server from a client application, there can be two type of timeouts - command timeout (time a query can run) and connection timeout (time waiting to establish a connection). The defaults are 30 and 15 seconds. It could be either.

If it is a command timeout, it could be because the server was busy, or something was blocking so the query couldn't run, or something similar. If it was connection timeout, it could be a network issue, or the server was temporarily unavailable, or something similar.

Pinpointing the cause after the fact is not easy, in my experience, unless you were set up for it before the event occurred.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.22 seconds. Powered By: Snitz Forums 2000