Solved

IIS 6.0 Application Pool recycles itself every few minutes

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

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…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

895 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

13 Experts available now in Live!

Get 1:1 Help Now