?
Solved

How to know what process is running when svchost.exe uses up 99% of CPU?

Posted on 2014-01-08
6
Medium Priority
?
495 Views
Last Modified: 2014-01-30
We have a Win 2003 server as domain controller. Its CPU utilization reaches 99% for 10 minutes pretty much from 5pm till 5:10pm almost every day. When it happens, I can see the process "svchost.exe" uses up about 99% of CPU. What could be wrong? Is there any way to know what specific process (other than svchost.exe) is using up the CPU?
0
Comment
Question by:Castlewood
6 Comments
 
LVL 22

Expert Comment

by:Joseph Moody
ID: 39765265
On newer OSs, it is a lot easier to trace this. On an older OS, you can use Process Monitor to get a better look at what the machine is doing.

http://technet.microsoft.com/en-us/sysinternals/bb545027.aspx
0
 
LVL 12

Expert Comment

by:aindelicato
ID: 39765322
open a CMD prompt and run tasklist /svc
0
 
LVL 5

Accepted Solution

by:
d_nedelchev earned 1600 total points
ID: 39765399
You can use Process Explorer by Sysinternals to view the individual modules, DLLs, Services and "Threads" that are utilized by a svchost.exe processes.

1. Download and run the utility

2. Select the process which hogs the CPU time.

svchost.exe process selection...

3. Check out the services that are being run by the process.

svchot.exe - Services tab.

4. Select the Thread.

svchost.exe - Threads tab.

5. Kill the sucker!

0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 36

Assisted Solution

by:Seth Simmons
Seth Simmons earned 400 total points
ID: 39765421
i would use process explorer as mentioned but identify first what the service is and why it's causing a cpu spike before killing it else if it's a service configured to restart in x seconds after failure it might start using cpu again.  do root cause analysis to prevent from reoccurring
0
 
LVL 5

Expert Comment

by:d_nedelchev
ID: 39765464
seth2740 has a point there - you must identify the cause of the problem and eliminate it, if possible.
0
 

Author Closing Comment

by:Castlewood
ID: 39822339
Thank you for the amazing work.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Office 365 is a subscriptions based service which includes services like Exchange Online and Skype for business Online. These services integrate with Microsoft's online version of Active Directory called Azure Active Directory.
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question