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

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Findout timeout root cause

Author  Topic 

Peter99
Constraint Violating Yak Guru

498 Posts

Posted - 2013-03-06 : 11:11:53
Hi,

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

thanks

James K
Master Smack Fu Yak Hacker

3873 Posts

Posted - 2013-03-06 : 11:20:03
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
   

- Advertisement -