Solved

IIS 6.0 Application Pool recycles itself every few minutes

Posted on 2006-07-03
3
1,718 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

770 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