David Bonnici
David Bonnici

Reputation: 6747

IIS 6.0 Debugging methods

I need some help from you about debugging high CPU usage (w3wp.exe) on server (Windows Server 2003 R2). I used debugdiag to anaylze but the problem is that this piece of software is not detecting any kind of problem.

Have you ever met any problem with high CPU usage on w3wp.exe (100% all the time)?

Have you got any tutorial how to debug any related problems?

Upvotes: 3

Views: 1065

Answers (2)

Gulzar Nazim
Gulzar Nazim

Reputation: 52178

Use adplus in hang mode to gather memory dump

adplus -hang -pn w3wp.exe -quiet

More details here: .NET Debugging Demos Lab 4: High CPU hang

Upvotes: 3

JonnyBoats
JonnyBoats

Reputation: 5187

The first step is to determine which program/process is using so much CPU. Have you used task manager to sort prtocesses by CPU usage?

Also I would recommend that you download the free tools from Sysinternals (now part of Microsoft).

Their Process Explorer tool would be a great start.

Upvotes: 0

Related Questions