An ASP.NET web app running on IIS6 periodically shoots the CPU up to 100%. It's the W3WP that's responsible for nearly all CPU usage during these episodes. The CPU stays pinned at 100% anywhere from a few minutes to over an hour.
This is on a staging server and the site is only getting very light traffic from testers at this point.
We've running ANTS profiler on the server, but it's been unenlightening.
Where can we start finding out what's causing these episodes and what code is keeping the CPU busy during all that time?
Increase in Web Traffic Causing IIS Worker Process High CPU. One of the simplest explanations for w3wp.exe high CPU usage is an increase in web traffic. However, if you don't have any baseline for what your normal volume of traffic is, it can be hard to know if traffic has increased.
Open Visual Studio in Administrator Mode, then Debug -> attach to process -> tick the check box "Show processes from all user", select w3wp.exe.
You need to run taskkill in an elevated command prompt.
The Microsoft Internet Information Services (IIS) Worker Process (w3wp.exe) is consuming more than 700 MB RAM on the Orion Server. Select the products and versions this article pertains too. A healthy IIS Server will consume approximately 300 - 600 MB, maybe 700 MB RAM when busy.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With