Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

IIS 6.0 Application Pool recycles itself every few minutes

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

828 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