More Group Sites
School Rankings
Jobless Net
Better Home
Enviro++


Help | Subscribe/Unsubscribe | Rules | Other Group Sites: Better Education | Better Education Forum
Welcome Guest Search | Active Topics | Members | Log In | Register

Server Problem w3wp.exe Options · View
Gilbertsavier
Posted: Friday, July 10, 2009 4:02:48 PM
Rank: Newbie
Groups: Member

Joined: 7/10/2009
Posts: 1
Points: 3
Location: chennai
Hello,
We have a w3wp.exe that uses 99% CPU for a lot of time. I have use Dot net back end is MYSQL. How can I find what asp script causes this? I make a user dump through debug diag, but it doesn't help me, because there wasn't any reference to the asp script that launches the threads.

Thanks in advance for your help.
Regards,
Gilbertsavier
Live chat By mioot
Sponsor
Posted: Friday, July 10, 2009 4:02:48 PM
hong
Posted: Saturday, July 11, 2009 12:23:28 PM

Rank: Administration
Groups: Administration

Joined: 11/23/2008
Posts: 329
Points: 693
Location: Australia
There are many similar posts over the internet. You should be able to find the right debugging tools or techniques using a Google search on "w3wp.exe high cpu".

Typically this indicates bad code in a web page. w3wp.exe is the ASP.Net process. However, this does not necessarily mean there is a problem with your ASP.Net application. Did you mean asp script or asp.net application?

The possible causes:
1. It could be that a page was running terrible queries or stored procedures.
Here is the example I found from the internet for your reference:
"I think the problem has been resolved. I noticed that when a user logged in, cpu increased about 10/15 %, than I tried with some iis debugging utilities, and I suspected that there was something wrong in the login verify procedure. No loop, only a stored procedure that was not working, because it tried to insert data on a Sql server Database that was not on that server. I corrected this Stored procedure".
2. A service was serving many clients.

I think the problem is in your own code.
First thing you need to do is to isolate your development environment from the production environment. Test your code running as a local web site first before you upload to the web server. This should help to identify any problems.

Then find out the problem page using the following debugging tools and techniques:
1. IISPeek to locate the page which caused the high CPU usage
2. Running a few logs to capture the problem. IIS (Web Service) performance counters can tell you how much traffic is coming to the site.
3. Logparser to analyse log files and find which page has long time execution
4. Attaching WinDbg + sos and run !runaway. That will show you which thread is taking the most CPU time. Do a !clrstack on the thread to find out what it is doing. For more information, visit http://www.codeproject.com/debug/windbg_part1.asp
jimmy007
Posted: Thursday, March 04, 2010 12:09:19 PM
Rank: Advanced Member
Groups: Member

Joined: 3/3/2010
Posts: 3
Points: -8,952
It is necessary and it is gives revolution in this field.

__________________________
Suzuki Radiator
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

ASPNET Theme created by Boskone (Dan Ferguson)
Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
This page was generated in 0.103 seconds.