Solved

Application pool not recycling

Posted on 2004-09-09
7
1,196 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
Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

738 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