Solved

Automatically recycle application pool on an error and figuring out why app is failing

Posted on 2004-07-30
3
724 Views
Last Modified: 2008-02-26
Hello,
I am new to dealing with IIS as a web server (I miss Apache :() and I am trying to get used to this application pool thing.  Now, I understand that if a process starts taking too many resources,  rapid application recycling will disable the process after a set amount of times.

My question is, I am trouble shooting an ASP web page, where if you recycle the application pool, it automatically starts working again.  Rapid Application Recycling does not appear to be the problem because the pool is still active before I recycle it.  Is there a way to recycle the application pool automatically so that it doesn't have to manually be done and so that ASP pages won't break?

Also, what can be the cause of these symptoms?  Is it most likely bad ASP code?  If so, how would I even go about trouble shooting what code is causing the problems?
0
Comment
Question by:gexen
[X]
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
  • 2
3 Comments
 
LVL 34

Expert Comment

by:Dave_Dietz
ID: 11682939
Rapid fail protection only comes into play if an Application Pool fails a number of times in a given period of time.  If this happens IIS assumes there is a problem with the Application Pool and stops the automatic restart to prevent an endless loop of startup/failure in a given Pool.

You can configure the health monitoring of a pool to automatically recycle a Pool based on time of day, number of requests served, lifespan or memory allocated.  If you set these the current worker thread will be shut down and a new one spun up to start handling requests. This is configured in the properties of the individual Application Pool.

There could be any number of causes for your issue.  Are there any errors being recorded in the Event Logs?

Dave Dietz

0
 
LVL 1

Author Comment

by:gexen
ID: 11684404
I know that.  What's really throwing me off is that nothing is being recorded in the Event Log, which is why I don't know where to start.
0
 
LVL 34

Accepted Solution

by:
Dave_Dietz earned 125 total points
ID: 11690943
Since the App Pool isn't crashing it sounds like you have a hang of some sort.....

See the following link:
http://support.microsoft.com/default.aspx?scid=kb;en-us;286350

Collect a hang dump and make it available for download somewhere and I'll be happy to take a look at it for you.

Dave Dietz
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

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…
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.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

624 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