MS IIS6 - w3wp.exe and Application Pool config

longjumps
longjumps used Ask the Experts™
on
In our server Win 2003 R2 SE x64 SP2 with IIS6 there is a problem with high cpu usage of IIS worker processes.
w3wp.exe is taking 100% CPU and at some point stuck processing of requests.
I read that once w3wp.exe process stop and than starts and we have http requests on sites,
w3wp.exe process is compiling .NET using JIT compilers.

To improve the situation is it correct to limit CPU monitoring threshold to 80%, make those work processes never down by idle, and define at least processes per Application pool.

Will be the above recommendations reasonable?
Can you please advice if there are ofter approaches to tune IIS6?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Hi,

I have handled several issues regarding IIS, and each one is particular, hwr, depending of the threads and the peak times you could setup reclying at several times.

First of all, this behaviour is all the time? (the 100% cpu) if not, what are the intervals, so that we could perhaps tune up a bit and tryout your performace afterwards.

Rgds.

Author

Commented:
How to make recycling several times in IIS6?

The problem happens after some calm period when coming pick.
W3wp processes are coming up and by serving asp.net requests also use JIT compiler.
Here is the method:

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/1eee28e2-b319-4b4e-8267-a8c0aa0dcf36.mspx?mfr=true

Now, it is important for you to determine the peak times of use, set up system monitor with the counters regarding IIS and thous you would be able to play with your recycling times.

Another thing is that if you have more than one web site on that server, create a new app pool for each web site in order for your to gate the problem much more easily.

Let me know if you need any other help.

Rgds.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial