100% CPU usage by W3wp.exe on 2003 & IIS 6

8,109

Are you running Standard Edition or Enterprise Edition of Windows Server 2003? If you're using Enterprise Edition, you could install Windows System Resource Management (WSRM) and restrict the CPU used by W3WP.EXE.

But, that aside, I'd first want to understand why W3WP.EXE is consuming so much CPU. Your tools here are both from Microsoft SysInternals: Process Explorer and Process Monitor.

Use Process Explorer to confirm that it is W3WP.EXE causing the issue, and get a more in-depth understanding of its CPU, I/O and memory usage. One thing to be sure of here is your available memory and paging activity. Do you need more than 4GB, for example. I don't know how much your STORE.EXE is using. However, don't go beyond 8GB for an Exchange 2003 server.

After this, use Process Monitor to actually watch what its doing. Configure a filter for "Process Name IS W3WP.EXE", and select "Drop Filtered Events". Now, you'll be watching just your worker process.

If nothing shows up, clear the default filter that excludes activity from the "System" process. The reason being, I think this is where you'll see your HTTP activity.

This might give you some clues as to what's going on.

Share:
8,109

Related videos on Youtube

Tom Garcia
Author by

Tom Garcia

Updated on September 18, 2022

Comments

  • Tom Garcia
    Tom Garcia over 1 year

    Recently, our server started to suffer from increased CPU utilizaiton by w3wp.exe. I ran log parser and found two users with over 1000 hits and another 5 with over 700 hits.

    I assume that's why the CPU is pegging, but I'm stuck how to fix it. Any help would be great. I only have OWA running on the IIS 6 server and have stopped it frequntly. When I stop the IIS server, the processgoes down to 40 percent then eventually after some time, goes away. My server specs are below.

    • Single Dual Core 5500
    • Server 2003 SP2 32bit
    • Exchange 2003 SP2
    • 4 GB RAM