[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1888
  • Last Modified:

IIS6 w3wp.exe taking 100% CPU. IISState log file available to look at if it helps

Good afternoon experts.

I am running load balanced webservers (windows 2003 web edition) using NLB that is included with the OS. Each machine has dual XEON processors.

The problem is that both machine are running at 100% CPU.

Could you please have a look at my IISState log and see if you can tell me whats happening. I know it could be down to a rogue ASP page somewhere but your comments would be most welcome

Many thanks
0
eWizard
Asked:
eWizard
1 Solution
 
Chris DentPowerShell DeveloperCommented:

Hi,

Is the problem limited to a single site / application pool?

High processor usage is normally caused by a loop statement that doesn't ever exit.

Can you post the state logs?

Chris
0
 
Chris DentPowerShell DeveloperCommented:

Oh and if you have no luck here it would be a really good idea to drop a pointer post in the IIS TA.
0
 
eWizardAuthor Commented:
Sorry, was ment to post the logs yesterday.

You can download them from http://www.ewizards.co.uk/downloads/IISState.log  (file size: 121 KB)

Thanks
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Chris DentPowerShell DeveloperCommented:

It would be worth checking the ASP Search pages as they are pretty much the only thing named in the logs. I can't see anything else that may be causing it in there.

For the code itself ensure that all objects are closed or set to nothing and any open database connections are terminated.

Chris
0
 
eWizardAuthor Commented:
Thanks Chris, this is pretty much as I thought.... I have already vetted the pages with regards to loops, closed connections etc

Any other suggestions are welcome....

Regards


eWizard
0
 
Chris DentPowerShell DeveloperCommented:

Does it access a database at all? There are some known issues with the Jet engine and IIS 6 that can cause high processor usage.

If that is the case you may want to consider this MS patch:

http://support.microsoft.com/?id=838306

Chris
0
 
eWizardAuthor Commented:
It access SQL Server 2000 not MS Access so does not use JET..

Regards

eWizard
0
 
Chris DentPowerShell DeveloperCommented:

Hmm sorry I couldn't help, I agree with you that it's probably the ASP code, but I'm not quite sure how you'd go about isolating it further.

It may be worth setting a limit on how much of the CPU the application pool uses while a more useful solution becomes apparent.

Chris
0
 
Dave_DietzCommented:
Looks like we have a number of threads running MSXML3 processing data and several HTTP compression threads.

Since the pages that are being processed appear to all be ASP my guess is that you have enabled Compression for dynamic content.
This is fairly processor intensive since it has to compress each outbound response on demand.  With Static content we compress it once and then simply resend the cached compressed copy in response to new requests - can't do that with Dynamic content...

Can't tell what build of MSXML3 you're running but you should make sure youa re running the latest service pack for it since they have cleaned up bugs and useability issues in each Service Pack.

Best guess is that there is a good bit of traffic on these machines and they are simply getting run ragged trying to GZIP every outbound response.

What happens if you disable  HTTP Compression?

Dave Dietz

0
 
alimuCommented:
suggest either award points to Dave (without feedback from asker it's difficult to ascertain whether this helped but his diagnosis appeared accurate).
or reduce to 0 points and PAQ.  I think info in this would be useful in PAQ.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now