Solved

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

Posted on 2014-01-08
6
485 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 400 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 34

Assisted Solution

by:Seth Simmons
Seth Simmons earned 100 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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

In-place Upgrading Dirsync to Azure AD Connect
This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

733 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