Ubuntu workaround in docs is missing a step to increase nofile #87436
Labels
:Core/Infra/Core
Core issues without another label
>docs
General docs changes
Team:Core/Infra
Meta label for core/infra team
Team:Docs
Meta label for docs team
team-discuss
https://www.elastic.co/guide/en/elasticsearch/reference/current/system-config.html
https://www.elastic.co/guide/en/elasticsearch/reference/current/setting-system-settings.html
https://www.elastic.co/guide/en/elasticsearch/reference/current/file-descriptors.html
I installed Elasticsearch 8.2.2 from zip archive on Ubuntu 22.04 LTS. The setup instructions in Elasticsearch docs were incomplete for setting
nofile
. It was not sufficient to set it inlimits.conf
for userelasticsearch
, I also had to add a setting insystem.conf
anduser.conf
.For example:
Without the changes in
system.conf
anduser.conf
, runningulimit -Sn -Hn
as userelasticsearch
returned 1024 for the soft and hardnofile
limits, even if I put the recommendedelasticsearch
entries inlimits.conf
.The text was updated successfully, but these errors were encountered: