Solved

Application pool not recycling

Posted on 2004-09-09
7
1,195 Views
Last Modified: 2010-05-18
Hi

i have a website on my server that consules lots of ressources
so i set an application pool for it and configured the process to recycle each 3 hours (Recycle worker processes at the following times...)

It worked ok the first 2 days but stoped suddenly
the worker process does not recycle at the specified time, and the site goes down (i need to kill the process manually so that site goes online again)

I wen to event viewer to take a look on the problem
i saw the message application 'pati' has requested a recycle , bla bla bla, the usual message.

But it seems that worker process did not recycle because the site is still down

So i checked the 2 options in
Recycle worker process after consuming too much memory
Maximum virtual memory : 500

Maximum used memory : 192

It work better but we are not globally satisfied because somtimes the worker process does not recycle and the site goes dow again.

Does anyone has a solution for this problem ?
thx

0
Comment
Question by:humer2000
  • 3
  • 2
7 Comments
 
LVL 34

Expert Comment

by:Dave_Dietz
ID: 12036902
The most likely reason the Application Pool isn't recycling is that you have one or more hung threads in the web application.

When the App Pool requests a recyvle the OS waits for the App Pool to drain all of its connections and terminate its threads.  If it can't do this the App Pol will not recycle.

You'll need to figure out what is hanging in the applciation to resolve this issue.

Dave Dietz
0
 
LVL 1

Author Comment

by:humer2000
ID: 12037561
if i run the web application in IIS 5 isolation mode
would this resolve my problem ?
0
 
LVL 34

Expert Comment

by:Dave_Dietz
ID: 12038575
No.

The issue is not related to the IIS 6.0 process model.  If you change to IIS 5.0 compatibility mode you will still have problems - potentially worse.

Dave Dietz
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 1

Author Comment

by:humer2000
ID: 12038827
their must be a way to force the app pool to kill all threads if it requests a recycle !
0
 
LVL 1

Author Comment

by:humer2000
ID: 12888117
i found the solution
here is an app that helped resolving my problem

http://www.motobit.com/help/webcheck/library.htm
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12902810
Closed, 500 points refunded.

modulo
Community Support Moderator
Experts Exchange
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

Organizations create, modify, and maintain huge amounts of data to help their businesses earn money and generally function.  Typically every network user within an organization has a bit of disk space to store in process items and personal files.   …
Learn about cloud computing and its benefits for small business owners.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

821 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