WARNING: Version 6.2 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
The JVM options
OnOutOfMemoryError enable executing
arbitrary commands if the JVM encounters a fatal error (
OnError) or an
OnOutOfMemoryError). However, by default,
Elasticsearch system call filters (seccomp) are enabled and these
filters prevent forking. Thus, using
and system call filters are incompatible. The
OnOutOfMemoryError checks prevent Elasticsearch from starting if
either of these JVM options are used and system call filters are
enabled. This check is always enforced. To pass this check do not enable
OnOutOfMemoryError; instead, upgrade to Java 8u92 and
use the JVM flag
ExitOnOutOfMemoryError. While this does not have the
full capabilities of
forking will not be supported with seccomp enabled.