Losing SQL connections
Posted
by john pavelka
on Server Fault
See other posts from Server Fault
or by john pavelka
Published on 2010-04-19T17:31:02Z
Indexed on
2010/04/19
17:34 UTC
Read the original article
Hit count: 235
sql servr 2005 - Standard; one dedicated sql server (VM); windows server 2003; Small databases;
About once a week we lose all sql connections. It seems to fix itself after about 5-10 minutes.
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
We don't have a fully qualified DBA; it's kind of a joint effort here. Can somebody give me some general ideas for troubleshooting the network side and the application side?
We already ran a few tuning profiles and ran through Database Tuning Advisor to apply indexing recommendations. It would sure be nice if there was a way to take a snapshot of what was running on sql server when these 100% cpu spikes occured, but sometimes we're not around.
Is it common to throttle CPU for certain processes? Can this be done with Windows server 2003? For example, if security apps were making cpu spike to 100%, is there a way to limit their cpu usage?
Any advice is appreciated. thanks,
© Server Fault or respective owner