Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Application pool not recycling

Posted on 2004-09-09
7
Medium Priority
?
1,198 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
[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
  • 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
Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

 
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

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

705 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