Asked by:
app pool recycle

Question
-
User-1841296589 posted
we have 4 websites running iis and we are experiencing an issue with caching and the only way to fix it is to recycle the app pool from both servers.
Thursday, March 21, 2019 7:30 PM
All replies
-
User-848649084 posted
Hi IIS_tech13e,
You could empty the cache by below options:
- Restart the Server
- Restart the Process
- Recycle the App Pool
You could set recycle app pool condition as you want.Recycling Settings for an Application Pool .
You could also set Output caching in iis.
Regards,
Jalpa.
Friday, March 22, 2019 2:09 AM -
User-1499466209 posted
there is no downtime when you recycle an application pool : a new process is initiated for all the new requests while the old process ends to serve its requests before going to die.
By the way, you can schedule a recycling at different times for your 2 application pools in the recycling options : https://docs.microsoft.com/en-us/iis/configuration/system.applicationhost/applicationpools/add/recycling/periodicrestart/
Friday, March 22, 2019 2:00 PM -
User-1841296589 posted
thanks for posting but I already know, my question is how to make this recycle every N minutes, we have a situation where website contents is not up to date
Friday, March 22, 2019 11:02 PM -
User-848649084 posted
Hi,
You could set app pool recycle Regular time interval or you set specific time span for recycle app pool. It is better option if you set app pool recycling 2 or 3 times in day. continues app pool recycling some time cause your site resources.
If you are using session management in your site then you could have some issues.You have to reload everything into memory this takes time,during this time users are waiting.Long running requests will be killed.
Reference:
Regards,
Jalpa.
Monday, March 25, 2019 2:42 AM