Re: Timeout expired troubleshooting suggestions
From: Anthony Thomas (ALThomas_at_kc.rr.com)
Date: 01/19/05
- Next message: Anthony Thomas: "SQL Server 7.0 SP Install Failure on Win NT 4 VMWare Host"
- Previous message: David Gugick: "Re: SQL Server Evaluation Expired, wish to retreive Stored Proc Sc"
- In reply to: Robert Richards via SQLMonster.com: "Timeout expired troubleshooting suggestions"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 18 Jan 2005 22:45:45 -0600
I'd monitor different events inside the SQL Server Profiler. In addition to
the RPC Completed and Batch Completed, include the Error Events and the Lock
Escalation, Lock Timeout, and Deadlock Chain events. This will at least
give you a better idea of what was exectuing around the time the "timeouts"
were encountered.
Also, by the way, there are several "kinds" of timeouts: connection, query
(a.k.a., command), and lock waits. You will need to narrow these down. In
addition, if you are using connection pooling, you may be experiencing some
sort of pool master timeout. You should check into that as well.
Hope this helps.
Sincerely,
Anthony Thomas
-- "Robert Richards via SQLMonster.com" <forum@SQLMonster.com> wrote in message news:fc02b7bf3eb941bb90121fc9da176c76@SQLMonster.com... We have a database that receives inserts from a .NET client. Periodically the client recieves timeout expired messages and all subsequent inserts fail, as though connectivity has been totally broken. We stop and restart the client services (not sql server) and connectivity is restored, but all the inserts that failed remain in a que. We have tested, and before we reset the services we can update and insert into the table using query analyzer, but the client cannot. The client is using the default command timeout of 30 seconds on the command object. There is no sign of blocking (as per sp_blocker_pss80), dbcc traceon(3605,1204,-1) shows not signs of deadlocking, profiler shows the longest query durations under 2 seconds, performance monitor shows CPU, Memory, and Disk IO as doing very well. NOTE: I mentioned above that once the client fails from the "timeout expired" that all subsequent inserts fail. There was one occasion when I archived [deleted] numerous records [from the table the client inserts into] to another table, and during this archive (I assume while a lock was on the table due to the delete) that the client timed out on several inserts (the archive took about 2 minutes, 120 seconds), but unlike all other instances, the client resumed inserting (connectivity was not broken) after timing out. Any suggestions or ideas on how I might narrow down the troubleshooting effort on SQL Server, or is the application not handling the messages from SQL Server properly? -- Message posted via http://www.sqlmonster.com
- Next message: Anthony Thomas: "SQL Server 7.0 SP Install Failure on Win NT 4 VMWare Host"
- Previous message: David Gugick: "Re: SQL Server Evaluation Expired, wish to retreive Stored Proc Sc"
- In reply to: Robert Richards via SQLMonster.com: "Timeout expired troubleshooting suggestions"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|