[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 355
  • Last Modified:

w3wp.exe recently started taking up excesive CPU

Recently on my PC I have noticed that the process w3wp.exe is started and taking up an excessive amount of CPU (50- 90%). Looking into this it is a NETWORK SERVICE for IIS Worker process. Where I used to use the PC for web development I currently do not and cannot see why or what started this process.
I do ha a cloud back up drive attached to the PC, but this is being run on a separate service (WDBACKUPENGINE.EXE).
If I have a look at the resource monitor I can find the PID, but if I look at services under task manager I cannot see a related service with that PID.
I am a bit concerned that this may be a virus taking control of my IIS, but no scan shows any viruses.
So what starts w3wp.exe and how can I prevent it from starting automatically?
0
Simon Cripps
Asked:
Simon Cripps
  • 2
  • 2
2 Solutions
 
Dan McFaddenSystems EngineerCommented:
Those processes are IIS AppPools that are running.  To shut them down just turn them off using IIS Manager.

To completely prevent this from happening in the future, uninstall IIS and its components.  That is assuming you won't be doing any more web development and need a local instance of IIS.

Dan
0
 
Simon CrippsAuthor Commented:
Thanks, I probably will be using IIS in the future so I have gone to the sites and the pools in IIS and stopped them from starting automatically and this has resolved the issue.

They have been set as start automatically for a couple of years with no impact to the PC CPU, but just recently started taking up huge resources. Would be nice to know why this happened, but at least the issue is resolved
0
 
Dan McFaddenSystems EngineerCommented:
Knowing why this situation is now occurring on these old AppPools could require the following:

- detailed analysis of HTTP logs
- (possible) code review of pages ID'ed as long running processes (asp, aspx, php, etc.)
- process dump of AppPool(s) process(es) that is consuming CPU
- monitoring of connections to the server running IIS
- process/resource monitoring of server running iis

Just an FYI.

Dan
0
 
Simon CrippsAuthor Commented:
Allows me to keep IIS installed for future use
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now