Solved

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

Posted on 2004-07-30
3
717 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
  • 2
3 Comments
 
LVL 34

Expert Comment

by:Dave_Dietz
Comment Utility
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
Comment Utility
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
Comment Utility
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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

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…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
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.

744 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

16 Experts available now in Live!

Get 1:1 Help Now