Important settings
To increase the value, add the following line to /etc/sysctl.conf
:
Then run to reload.
The sample docker-compose.yml file also contains several key settings:
-
Disables swapping (along with
memlock
). Swapping can dramatically decrease performance and stability, so you should ensure it is disabled on production clusters. -
Sets a limit of 65536 open files for the OpenSearch user.