Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Add note about /tmp removal #95166

Merged
merged 1 commit into from
Apr 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/reference/setup/sysconfig/executable-jna-tmpdir.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,10 @@ also configure the path that JNA uses with the <<set-jvm-options,JVM flag>>
temporary files by setting the `LIBFFI_TMPDIR` environment variable. Future
versions of {es} may need additional configuration, so you should prefer to set
`ES_TMPDIR` wherever possible.

NOTE: {es} does not clear out the `/tmp` directory, as this could be an
unwelcome behavior in the event of a power outage or an Out of Memory error.
Instead, it's expected that temporary directories are cleaned out automatically
by the system on events such as a reboot. This is the behavior with the Linux
link:https://www.kernel.org/doc/html/latest/filesystems/tmpfs.html[tmpfs]
file system, for example.