# Auto Suspension

Auto suspension suspends/turns off a cluster when kept unoccupied/free for a specified period in minutes. Depending on the nature of your workloads, your instance may be in a state of rest during off-peak times, increasing the cluster compute cost. Auto-suspension allows you to reduce the cost of compute during these times.

{% hint style="info" %}
In some cases, not all executors will be available immediately when a cluster is created due to infrastructure availability limitations. The remaining executors will become active as soon as resources are available.

Therefore, the auto-suspension time is calculated starting from the time all the executors in a cluster come online.
{% endhint %}

## Auto Suspension Time Adjustment

When a user edits the auto-suspension time, the new value will be calculated based on the current active session's start time, and the action will be taken accordingly.

**Examples:**

1. **Reducing Auto-Suspension Time:**
   * If the current auto-suspension time is 30 minutes and the user updates it to 5 minutes, and the cluster has already been active for 5 minutes, the cluster will be suspended immediately.
2. **Increasing Auto-Suspension Time:**
   * Suppose the current auto-suspension time is 30 minutes and the user updates it to 50 minutes, and the cluster has already been active for 20 minutes. In that case, the cluster will be suspended after an additional 30 minutes (i.e., 50 minutes minus the active session time of 20 minutes).


---

# Agent Instructions: 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.e6data.com/product-documentation/~/changes/0iCkDjvnPldS7yucryRX/clusters/auto-suspension.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.
