# File descriptors

{% hint style="info" %}
This is only relevant if you are running Snow Owl with an embedded Elasticsearch and not connecting it to an existing cluster.
{% endhint %}

Snow Owl (with embedded Elasticsearch) uses a lot of file descriptors or file handles. Running out of file descriptors can be disastrous and will most probably lead to data loss. Make sure to increase the limit on the number of open files descriptors for the user running Snow Owl to 65,536 or higher.

For the `.zip` and `.tar.gz` packages, set `ulimit -n 65536` as root before starting Snow Owl, or set `nofile` to `65536` in `/etc/security/limits.conf`.

RPM and Debian packages already default the maximum number of file descriptors to `65536` and do not require further configuration.


---

# 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.b2ihealthcare.com/snow-owl/8.x/index-1/system-settings/file-descriptors.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.
