Solved

Very high w3wp CPU usage

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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

OfficeMate Freezes on login or does not load after login credentials are input.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

803 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