Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1200
  • Last Modified:

Application pool not recycling

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
humer2000
Asked:
humer2000
  • 3
  • 2
1 Solution
 
Dave_DietzCommented:
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
 
humer2000Author Commented:
if i run the web application in IIS 5 isolation mode
would this resolve my problem ?
0
 
Dave_DietzCommented:
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
humer2000Author Commented:
their must be a way to force the app pool to kill all threads if it requests a recycle !
0
 
humer2000Author Commented:
i found the solution
here is an app that helped resolving my problem

http://www.motobit.com/help/webcheck/library.htm
0
 
moduloCommented:
Closed, 500 points refunded.

modulo
Community Support Moderator
Experts Exchange
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now