Reputation: 61737
We have our main apppool on auto recycle every 10 minutes or so. Unfortunately at the moment this is a necessity to keep the site stable as there appear to be various issues causing this to be necessary.
The problem is that we've released an important feature of our site that allows users to upload large files (>200mb). If the apppool recycles during that time which it often does, the upload fails and they get a 500 server error.
Assuming we are unable to currently change the recycle settings, what's the best way to get around this issue?
Upvotes: 0
Views: 491
Reputation: 10591
You don't have a lot of choices if you have no ability to change to the IIS settings. Some things I can think of:
Upvotes: 2
Reputation: 10012
I expect that the App Pool is auto recycling every 10 minutes because you are hitting a certain amount of errors within a certain amount of time; commonly known as Rapid Fail Protection.
Now if you look on that page you can see how to increase the failure & time limits to avoid the application pool restarting sporadically.
Without being able to change your auto recycling I suggest you find out why your application is failing so often and needing to recycle the application pool. You could use something like NewRelic to do so, but then if you have access to do that then you'd be able to change the recycle settings.
Upvotes: 1