mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 23:57:20 -04:00
Today if `libffi` cannot allocate pages of memory which are both writeable and executable then it will attempt to write code to a temporary file. Elasticsearch configures itself a suitable temporary directory for use by JNA but by default `libffi` won't find this directory and will try various other places. In certain configurations, none of the other places that `libffi` tries are suitable. With older versions of JNA this would result in a `SIGSEGV`; since #80617 the JVM will exit with an exception. With this commit we use the `LIBFFI_TMPDIR` environment variable to configure `libffi` to use the same directory as JNA for its temporary files if they are needed. Closes #18272 Closes #73309 Closes #74545 Closes #77014 Closes #77053 Relates #77285 Co-authored-by: Rory Hunter <roryhunter2@gmail.com> |
||
---|---|---|
.. | ||
images | ||
important-settings | ||
install | ||
sysconfig | ||
add-nodes.asciidoc | ||
advanced-configuration.asciidoc | ||
bootstrap-checks-xes.asciidoc | ||
bootstrap-checks.asciidoc | ||
configuration.asciidoc | ||
important-settings.asciidoc | ||
install.asciidoc | ||
logging-config.asciidoc | ||
restart-cluster.asciidoc | ||
secure-settings.asciidoc | ||
starting.asciidoc | ||
stopping.asciidoc | ||
sysconfig.asciidoc |