Solved

Very high w3wp CPU usage

Posted on 2013-01-31
3
718 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…

706 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

18 Experts available now in Live!

Get 1:1 Help Now