Solved

Very high w3wp CPU usage

Posted on 2013-01-31
3
719 Views
Last Modified: 2013-02-22
Hello,

I have a developed a web app.  I’ve tested  on both a windows 2003 (IIS6) and Windows 2008 R2 (IIS7) server. (The 2008 server is physically more powerful)

The code connects to a database server (different servers
On the 2008 R8 it works fine, but when it used on the 2003 server the w3wp.exe CPU usage shoots up 95% and memory usage creeps up to 800mb.  It stays at these levels for a least a couple of hours.
I don’t whether this is a problem with the code in general and 2008 is just better at handling it.  Or whether it’s just IIS6 causing the problems?

Any suggestions or logs that I could at to get a clue, before I put too much effort into redesigning the app.
0
Comment
Question by:andyw27
3 Comments
 
LVL 10

Expert Comment

by:gaurav05
ID: 38838870
Hi,

debug diagnostics tool more help you on it

http://support.microsoft.com/kb/919791
0
 
LVL 20

Expert Comment

by:informaniac
ID: 38840852
Does it happen for any particular page of the application? Or happens or all pages? Generally I've seen this kind of behavior when there is an infinite loop that is occurring in javascript.
0
 
LVL 17

Accepted Solution

by:
Rovastar earned 500 total points
ID: 38847001
Although Windows 2008/IIS7 is better at handling that IIS6 it is not that much.

You seem to have a memory leak with the high CPu too. You will need to debug you code . Looking at the problem pages first.
First look at the IIS logs for long running pages.

But also if you are not intending to use the decade old Windows 2003 then maybe just focus on fine tuning your app on WIndows 2008
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
OfficeMate Freezes on login or does not load after login credentials are input.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

911 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now