> 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

Configure the IIS application pool for Devolutions Server to recycle nightly at a set time instead of every 29 hours to prevent an unresponsive site.

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.
3. Select the Devolutions Server application pool and open the ***Advanced Settings*** menu from the Actions pane on the right.
4. Scroll the list at the bottom and set the ***Regular Time Interval*** to the value 0.
5. Select the ***Specific Times*** parameter and click on the ellipsis button.
6. Click on the ***Add*** button in the ***TimeSpan Collection Editor*** dialog to add a new entry.
7. Set the time when the application pool will be recycled. This time must be set as a 24 hour format.
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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
