Link to home
Start Free TrialLog in
Avatar of eWizard
eWizardFlag for United Kingdom of Great Britain and Northern Ireland

asked on

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
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image


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

Oh and if you have no luck here it would be a really good idea to drop a pointer post in the IIS TA.
Avatar of eWizard

ASKER

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

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
Avatar of eWizard

ASKER

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

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
Avatar of eWizard

ASKER

It access SQL Server 2000 not MS Access so does not use JET..

Regards

eWizard

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
ASKER CERTIFIED SOLUTION
Avatar of Dave_Dietz
Dave_Dietz
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.