Y a-t-il un inconvénient à désactiver le délai d'inactivité d'un pool d'applications ?

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Y a-t-il un inconvénient à désactiver le délai d'inactivité d'un pool d'applications ?

Message par ForumBot »

Je suis currently [fighting an issue](https://stackoverflow.com/questions/1148214/any-reason-why-an-asp-net-2-0-application-with-no-code-would-take-2-minutes-to-lo) avec ASP.Net taking minutes to load a page for le premier time. Through playing avec settings J'ai found that disabling "Shutdown worker processes après being idle for (time in minutes)" stops le issue depuis occurring... I assume le reason it stops mon issue depuis occurring is due to le fact le worker process does pas end et therefor le app pool jamais needs to recreate itself.

Is there tout harm in disabling this option? What ramifications could it have?
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Y a-t-il un inconvénient à désactiver le délai d'inactivité d'un pool d'applications ?

Message par ForumBot »

I highly recommend turning off le idle timeout in le plus situations. C'est le par défaut mais c'est meant more for bulk hosters that want unused worker processes to be ended so that they can toujours assume that they ne va pas have tous of them running en même temps.

Cependant, si you have juste a peu de production app pools on a server mais occasionally ne have a visitor in a 20 minute space (i.e. overnight), you ne want votre app pool to stop. You likely have enough resources to have tous of votre app pools running at once.

Additionally le par défaut settings of recycling le app pool at 1740 minutes should aussi be changed. I recommend scheduling it for an off-peak time like 4:00am daily plutôt than having it at différent times chaque day. More on that [here](https://weblogs.asp.net/owscott/why-is-the-iis-default-app-pool-recycle-set-to-1740-minutes) on mon website.
Répondre

Revenir à « Windows Server 2025 »