Elasticsearch process is too low, increase to at least [65536]

Hi Guys,

I installed elastic search using the below link with docker image.
https://elk-docker.readthedocs.io/#installation

But when I start elastic search docker file using following command,
sudo docker run -p 5601:5601 -p 9200:9200 -p 5044:5044 -it --name elk sebp/elk

But getting an error,
max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]

When I check my ulimit -n it gives the result 65536, then how can this be resolved?

Thanks.

Hi,

Can you set MAX_OPEN_FILES variable ? (https://elk-docker.readthedocs.io/#overriding-variables).
Ex : add -e MAX_OPEN_FILES 65536

Regards,
Grégoire

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.