Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've got a Windows Server 2008 running IIS 7 with a number of different website each with there own application pool.

Occasionally each one of these sites will fire up a w3wp.exe process when nobody is viewing the website and use about 50% of the CPU resources.

Does anyone know the reason for this and is there a way to stop this or at least reduce it as it slows down the response times on other websites that are being used.

All the websites are asp.net MVC applications running .NET 4 and MVC 2 or 3.

Thanks

share|improve this question
    
Having the same issue on Window 2008 R2 with IIS 7.5, w3wp process sitting at 50% CPU usage when nothing going on. –  John K Jun 2 '11 at 23:50
    
Any pattern to the timing of the CPU usage? Could it be app pool recycling plus WarmUp? –  Rory Sep 17 '13 at 9:53

1 Answer 1

I would first verify that the application domainis not restarting. Sometimes this is due to files that are changing.

Add this to your master web.config located at:

C:\WINDOWS\Microsoft.NET\Framework\<version>\CONFIG or
C:\WINDOWS\Microsoft.NET\Framework64\<version>\CONFIG 

<add name="Application Lifetime Events Default" eventName="Application Lifetime Events"
    provider="EventLogProvider" profile="Default" minInstances="1"
    maxLimit="Infinite" minInterval="00:01:00" custom="" />

http://blogs.msdn.com/b/tess/archive/2006/08/02/asp-net-case-study-lost-session-variables-and-appdomain-recycles.aspx#686393

share|improve this answer
    
Thanks for your help, none of the files you mentioned have been modified recently. Could there be anything else causing this issue? –  lancscoder Apr 21 '11 at 19:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.