Solved

IIS 6.0 Application Pool recycles itself every few minutes

Posted on 2006-07-03
3
1,716 Views
Last Modified: 2008-01-09
Hi,

I'm running IIS 6.0 on Windows Server 2003 64 bit (dual processors, 2Gb RAM).  Have just recompiled a .NET 1.1 site to .NET 2 and now the Application Pool for the site seems to randomly recycle itself.

The site is fairly busy, averaging 5 - 10 requests/sec for 20 hours a day.  It makes extensive use of session variables to reduce DB server load and obviously when the pool gets recycled all session variables get lost.

What is very strange is that just before recycling, there is a HUGE spike in the Request/Sec and Sessions Active as reported by Performance Monitor - as in requests goes up to around 4295420459.

The server has the latest service patches and I have scanned for trojans and visruses and the server is clean.

Any ideas what I should look for?

Thanks a lot

0
Comment
Question by:rob_rpm
  • 2
3 Comments
 
LVL 10

Expert Comment

by:sleep_furiously
ID: 17033825
Is anything useful logged in the system Event logs when the process is recycled?
0
 

Author Comment

by:rob_rpm
ID: 17035809
No, unfortunately there is nothing in the Event Logs.

In the Application log, the only entries come from ASP.NET errors when they lose their session variables.

In the System log the only W3SVC entries are "A worker process with process id of '4996' serving application pool 'Powering' has requested a recycle because the worker process reached its allowed processing time limit."
(I have a 2 hour Recycle time on the worker process)

So it appears IIS is recycling the process, but not recording it...

In the Task Manager I can see the memory usage for w3wp.exe drop from 300mb or whatever down to 20mb each time this happens.

As I said above, the REALLY strange thing is that the counters for requests/sec, sessions active, request succeeded go through the roof just before it happens - always to about 4.29 billion!!!
0
 
LVL 10

Accepted Solution

by:
sleep_furiously earned 500 total points
ID: 17038939
Sorry, don't know if this has anything to do with your problem, but you could check the following.

An IIS 6.0 application pool may unexpectedly exit when an worker process shuts down or is recycled
http://support.microsoft.com/?scid=kb;en-us;918041

0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now