Hi Michael Fitzback,
Lets follow few troubleshooting steps below:
- Look into your application pool's recycling settings. The default configuration in IIS can recycle the app due to memory limits, request limits, or time intervals. You might want to adjust the
memory
,privateMemory
, orrequests
attributes in yourrecycling/periodicRestart
settings if they're set too low. - Sometimes, changes to the
web.config
file are treated as a signal to recycle the app. Double-check that no settings have been changed that could prompt this behavior. - ASP.NET can recycle the application domains for various reasons including memory pressure or configuration changes. Ensure that your app isn't facing memory allocation failures or other high-memory conditions, which could trigger unplanned recycle operations.
- As a default, periodic restarts are scheduled for app pools for health. If your application isn't designed to handle this gracefully, it might be causing issues.
- Review your application for large objects or sessions being held in memory longer than necessary. This might help with the recycling frequency.
applicationpools/add/recycling/
recycling/periodicrestart/schedule/add
If you have any further assistant, do let me know.