Solved

Application pool not recycling

Posted on 2004-09-09
7
1,192 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
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

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

11 Experts available now in Live!

Get 1:1 Help Now