Webserver process, w3wp.exe, CPU usage 100%

Webserver process, w3wp.exe, CPU usage 100%

am 08.06.2005 13:32:11 von mhedex

Hi. I need some help with a specific webserver having CPU usage of 100% at
times.

The server is running Windows 2003 server, having 2 Intel Xeon 3.4GHz
processors and the problem is that lately the server needs to be rebooted
more and more often caused by CPU usage of 100% on the webserver process
w3wp.exe. The server is patched up to Service Pack 1 and
http://support.microsoft.com/default.aspx?scid=kb;en-us;8908 59. Our CMS is
running on the server as a distributed system, meaning the MS webserver is on
one server, MS SQL on the other.

The server is running the same CMS version as a lot of other customers, and
there without any problems.

We have performancelogs and dumps from the eventviewer from the webserver,
would that be of any help?

What we need is some sort of help debugging the error, help getting the
server on the right track again.


How do we begin, how can you help?

Re: Webserver process, w3wp.exe, CPU usage 100%

am 08.06.2005 13:58:07 von Ken Schaefer

When w3wp.exe is running at 100%, use either Debug Diag beta [1] or IISState
[2] to get a log. Post the log here if you need help intepreting it

Cheers
Ken

[1] http://msmvps.com/bernard/archive/2005/05/27/49117.aspx
[2] http://www.iisfaq.com/Default.aspx?tabid=2513 and
www.adopenstatic.com/faq/IISconfigureIISState.aspx

--
IIS Blog: www.adopenstatic.com/cs/blogs/ken/
Web: www.adopenstatic.com


"mhedex" wrote in message
news:C2A38112-09E1-4547-A31A-E7BAE2E8EE40@microsoft.com...
: Hi. I need some help with a specific webserver having CPU usage of 100% at
: times.
:
: The server is running Windows 2003 server, having 2 Intel Xeon 3.4GHz
: processors and the problem is that lately the server needs to be rebooted
: more and more often caused by CPU usage of 100% on the webserver process
: w3wp.exe. The server is patched up to Service Pack 1 and
: http://support.microsoft.com/default.aspx?scid=kb;en-us;8908 59. Our CMS is
: running on the server as a distributed system, meaning the MS webserver is
on
: one server, MS SQL on the other.
:
: The server is running the same CMS version as a lot of other customers,
and
: there without any problems.
:
: We have performancelogs and dumps from the eventviewer from the webserver,
: would that be of any help?
:
: What we need is some sort of help debugging the error, help getting the
: server on the right track again.
:
:
: How do we begin, how can you help?
:

Re: Webserver process, w3wp.exe, CPU usage 100%

am 08.06.2005 14:07:03 von mhedex

Thx - i'll get to it!

"Ken Schaefer" wrote:

> When w3wp.exe is running at 100%, use either Debug Diag beta [1] or IISState
> [2] to get a log. Post the log here if you need help intepreting it
>
> Cheers
> Ken
>
> [1] http://msmvps.com/bernard/archive/2005/05/27/49117.aspx
> [2] http://www.iisfaq.com/Default.aspx?tabid=2513 and
> www.adopenstatic.com/faq/IISconfigureIISState.aspx
>
> --
> IIS Blog: www.adopenstatic.com/cs/blogs/ken/
> Web: www.adopenstatic.com
>
>
> "mhedex" wrote in message
> news:C2A38112-09E1-4547-A31A-E7BAE2E8EE40@microsoft.com...
> : Hi. I need some help with a specific webserver having CPU usage of 100% at
> : times.
> :
> : The server is running Windows 2003 server, having 2 Intel Xeon 3.4GHz
> : processors and the problem is that lately the server needs to be rebooted
> : more and more often caused by CPU usage of 100% on the webserver process
> : w3wp.exe. The server is patched up to Service Pack 1 and
> : http://support.microsoft.com/default.aspx?scid=kb;en-us;8908 59. Our CMS is
> : running on the server as a distributed system, meaning the MS webserver is
> on
> : one server, MS SQL on the other.
> :
> : The server is running the same CMS version as a lot of other customers,
> and
> : there without any problems.
> :
> : We have performancelogs and dumps from the eventviewer from the webserver,
> : would that be of any help?
> :
> : What we need is some sort of help debugging the error, help getting the
> : server on the right track again.
> :
> :
> : How do we begin, how can you help?
> :
>
>
>

Re: Webserver process, w3wp.exe, CPU usage 100%

am 08.06.2005 15:42:26 von john cesta

On Wed, 8 Jun 2005 04:32:11 -0700, mhedex
wrote:


>Hi. I need some help with a specific webserver having CPU usage of 100% at
>times.

Typically this indicates bad code in a web page. While processing the
page IIS has a hard time and thus works real hard on it and consumes a
large % of the cpu.

Our servers run about 200 - 300 sites each. The sites run CF, ASP,
PERL and html. The trick is to find the site that is causing the
problem.

I do two things to find the offending site.

1. I use iistracer to review in the browser what pages are running in
the web server. Check out the features of iistracer at: motobit.com
Great product.

2. I monitor the inetinfo.exe, dllhost or w3wp.exe processes for high
cpu% When I am notified about it I have a program on the server
restart the iis server then I can go in and review the cf logs to find
exceptions and error messages at that time and I can take a look at
that particular site. I display my server's task manager on the screen
and my browser. I run through the suspect site to see if any links
cause the cpu to go high. I've been able to solve plenty of high cpu
causes this way.

Give it a try it's not as difficult as it sounds. Do your homework.
Locate all the logfiles you can, get your tools in place and jump in.

John Cesta

The CPU Checker - Monitors your CPU % while you sleep
LogFileManager - IIS LogFile Management Tool
WebPageChecker - Helps Maintain Server UpTime
DomainReportIt PRO - Helps Rebuild IIS
http://www.serverautomationtools.com
>
>The server is running Windows 2003 server, having 2 Intel Xeon 3.4GHz
>processors and the problem is that lately the server needs to be rebooted
>more and more often caused by CPU usage of 100% on the webserver process
>w3wp.exe. The server is patched up to Service Pack 1 and
>http://support.microsoft.com/default.aspx?scid=kb;en-us;890 859. Our CMS is
>running on the server as a distributed system, meaning the MS webserver is on
>one server, MS SQL on the other.
>
>The server is running the same CMS version as a lot of other customers, and
>there without any problems.
>
>We have performancelogs and dumps from the eventviewer from the webserver,
>would that be of any help?
>
>What we need is some sort of help debugging the error, help getting the
>server on the right track again.
>
>
>How do we begin, how can you help?

RE: Webserver process, w3wp.exe, CPU usage 100%

am 27.06.2005 09:28:03 von mhedex

Sry for not giving any feedback - we sent a request to the administrators of
the customer-server where the problem occured - and (un)fortunately they
have'nt experienced the problem ever since :s ...

"mhedex" wrote:

> Hi. I need some help with a specific webserver having CPU usage of 100% at
> times.
>
> The server is running Windows 2003 server, having 2 Intel Xeon 3.4GHz
> processors and the problem is that lately the server needs to be rebooted
> more and more often caused by CPU usage of 100% on the webserver process
> w3wp.exe. The server is patched up to Service Pack 1 and
> http://support.microsoft.com/default.aspx?scid=kb;en-us;8908 59. Our CMS is
> running on the server as a distributed system, meaning the MS webserver is on
> one server, MS SQL on the other.
>
> The server is running the same CMS version as a lot of other customers, and
> there without any problems.
>
> We have performancelogs and dumps from the eventviewer from the webserver,
> would that be of any help?
>
> What we need is some sort of help debugging the error, help getting the
> server on the right track again.
>
>
> How do we begin, how can you help?
>

RE: Webserver process, w3wp.exe, CPU usage 100%

am 20.08.2005 11:12:01 von EgonGamper

Hi,

maybe this can help if you cant fix the problem:
http://www.cobra-eg.it/ProcWatch/

~egon



"mhedex" wrote:

> Hi. I need some help with a specific webserver having CPU usage of 100% at
> times.
>
> The server is running Windows 2003 server, having 2 Intel Xeon 3.4GHz
> processors and the problem is that lately the server needs to be rebooted
> more and more often caused by CPU usage of 100% on the webserver process
> w3wp.exe. The server is patched up to Service Pack 1 and
> http://support.microsoft.com/default.aspx?scid=kb;en-us;8908 59. Our CMS is
> running on the server as a distributed system, meaning the MS webserver is on
> one server, MS SQL on the other.
>
> The server is running the same CMS version as a lot of other customers, and
> there without any problems.
>
> We have performancelogs and dumps from the eventviewer from the webserver,
> would that be of any help?
>
> What we need is some sort of help debugging the error, help getting the
> server on the right track again.
>
>
> How do we begin, how can you help?
>