Solved

Very high w3wp CPU usage

Posted on 2013-01-31
3
735 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

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

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
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…
Suggested Courses

631 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