1

I have a SQL Server instance that is pegging out my server. I'd like to look at what jobs are running, but it's so slammed that I can't even log in.

Is there some secret way to get in and look at whats running when the server is slammed or do I just need to yank the plug out of the wall?

UPDATE: I tried connecting using DAC but it threw this error message:

enter image description here

Abe Miessler
  • 925
  • 4
  • 11
  • 20
  • Do you ahve aresource governor active? That would handle the pegging by slowing down this particular processing. – TomTom Mar 08 '11 at 17:37
  • The resource governor is allowing 100% across the board. Even if I knocked it down I still wouldn't be able to connect to my SQL Server instance correct? – Abe Miessler Mar 08 '11 at 18:11
  • By default DAC is only listening locally. Must connect from the same host. – Remus Rusanu Mar 09 '11 at 05:46

4 Answers4

2

Try the Dedicated Administrator Connection (DAC).

JeffO
  • 181
  • 4
0

Can you get into SSMS? If so, have you tried running sp_who2?

that should show you what SPID's are eating up the most CPU.

Brosto
  • 113
  • 5
0

I would check the event logs on the server, see if there's anything going on with disk errors or anything else that might be out of the ordinary.

If you're not able to connect to the instance, even through the DAC, your options are limited, wait, or stop the sql service and restart it. If you're not sure where the activity might be coming from and it will help with troubleshooting, you could do a "netstat -an" and capture to a text file for analysis, that will show a line for each connection to the server.

After you can connect, check the SQL error logs for anything unusual, and check the default trace files for any help they can provide.

SqlACID
  • 2,176
  • 18
  • 18
0

If you can't log into the SQL Instance from the servers console then the only option that you have is to restart the SQL Service. After you do, enable the Dedicated Admin Connection and restart the service again so that the next time the service locks up you can log in via the DAC and see what's going on.

mrdenny
  • 27,174
  • 4
  • 41
  • 69