Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IIS 7.0 app pool recycling every minute

I've got an app pool that is recycling exactly every minute. The Private memory is set to 1433600KB Virtual memory is set to 2457600KB (yes its a lot). The recycling regular time interval is left at its default value of 1740. From what I can see the memory limit is not near being reached when the recycling happens. I can't find anything shceduled on the server that could be causing this either.

Does anyone have any ideas as to what could be the cause of this?

like image 381
Rob Marsh Avatar asked Oct 07 '22 20:10

Rob Marsh


2 Answers

We had the same issue. Don't know if is solution for you, but we disabled Virtual memory recycling setup (keep Private memory enabled) and app pool stops recycling.

Check this article about large memory reservations.

like image 190
Ludwo Avatar answered Oct 10 '22 23:10

Ludwo


Ensure recycle logging is turned on for all possible values (right click on the application pool, select "Recycling", then click "next" to see the logging).

Then when it recycles you should receive a "WAS" sourced event in the System Event Viewer that tells you specifically why it recycled.

like image 26
Stephen S. Avatar answered Oct 10 '22 21:10

Stephen S.