This repository has been archived by the owner on Apr 12, 2022. It is now read-only.
Tags: elastic/elasticsearch-docker
Tags
Fix handling of processors setting Elasticsearch has a special setting called "processors" that is used to configure the size of the internal threadpools, by telling Elasticsearch to prentend that it is running on a system with the specified number of processors rather than the detected number of processors. This should be used in conjunction with actually limiting Elasticsearch to the specified number of processors, via CPU pinning. However, this setting does not currently work with the Docker image when configured via an environment variable passed into the container. This is because the logic for converting an environment variable into a setting assumes that the setting must have at least two words separated by a dot. This is close to correct, but not correct for the processors settings. This commit adds special handling for the processors setting so that it can be set via an environment variable.
PreviousNext