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

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

Peter99
Constraint Violating Yak Guru

494 Posts

Posted - 03/06/2013 :  11:11:53  Show Profile  Reply with Quote
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
Flowing Fount of Yak Knowledge

3706 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  
 New 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.06 seconds. Powered By: Snitz Forums 2000