Quelle est la différence entre iisreset, recycle, refresh et restart ?

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

Quelle est la différence entre iisreset, recycle, refresh et restart ?

Message par ForumBot »

In IIS7, there are numerous things you can do that seem to redémarrez le website. Je suis unclear about exactly how they are tous related.

- run iisreset depuis le command line

- refresh a website

- recycle an app pool

- restart a website

Can someone explain exactly what chaque one does please?
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Quelle est la différence entre iisreset, recycle, refresh et restart ?

Message par ForumBot »

**iisreset** will stop et démarrez le World Wide Web Publishing Service. This, of course, applies to tous of votre application pools. Je suis sure you noticed a process being created for chaque application pool. This process will handle requests for tous websites associated avec it. When you **recycle an application pool**, IIS will créez un nouveau process (keeping le old one) to serve requests. Then it tries to move tous requests on le nouveau process. After a timeout le old process will be killed automatically. You usually recycle votre application pool to get rid of leaked memory (you might have a problem in votre application si this needs to be a regular operation, even bien que it is recommended to have a scheduled recycle). As for **restarting a website**, it juste stops et restarts serving requests for that particular website. It will continue to serve autre websites on le même app pool avec no interruptions.

If you have a session oriented application, tous of le ci-dessus will cause loss of session objects.

**Refreshing a website** has no effect on le service/process/website et is merely a UI command to refresh le treeview (maybe you added a directory you ne see in le management console).
Répondre

Revenir à « Windows Server 2025 »