> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/server/knowledge-base/how-to-articles/recycle-devolutions-server-application-pool-nightly.md).

# Recycle Devolutions Server application pool nightly

The default value set in ***Regular Time Interval*** parameters of the advanced settings of an IIS application pool is used to recycle the application pool every 29 hours. Sometimes, we need to recycle the application pool nightly to prevent getting a non-responsive web application.

1. Open IIS Manager.
2. Expand the tree and select the ***Application Pools*** node.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4135.png" alt=""><figcaption></figcaption></figure>
3. Select the Devolutions Server application pool and open the ***Advanced Settings*** menu from the Actions pane on the right.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4136.png" alt=""><figcaption></figcaption></figure>
4. Scroll the list at the bottom and set the ***Regular Time Interval*** to the value 0.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4137.png" alt=""><figcaption></figcaption></figure>
5. Select the ***Specific Times*** parameter and click on the ellipsis button.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4138.png" alt=""><figcaption></figcaption></figure>
6. Click on the ***Add*** button in the ***TimeSpan Collection Editor*** dialog to add a new entry.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4139.png" alt=""><figcaption></figcaption></figure>
7. Set the time when the application pool will be recycled. This time must be set as a 24 hour format. The following screen shot is set to recycle every night at 1:00 AM.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4140.png" alt=""><figcaption></figcaption></figure>
8. Finally, click on ***OK*** to save the modification.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.devolutions.net/server/knowledge-base/how-to-articles/recycle-devolutions-server-application-pool-nightly.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
