Configuring system parameters manually
About this task
If the configured user does not have sudo access, then manually edit the vm.max_map_count and ulimit values:
Steps
-
Set the
vm.max_map_countto262144on the Elasticsearch virtual machine (VM) by entering the following command:$sudo sysctl -w vm.max_map_count=262144 -
To make the setting persistent across reboots, run the following command:
$sudo echo "vm.max_map_count=262144" >> /etc/sysctl.conf -
Set the
ulimitto65536on the ASE, ABS, MongoDB, and Elasticsearch hosts. To set theulimit:-
Edit
/etc/security/limits.conffor increasing the soft limit and hard limit. -
Add the following two lines for the user that you have created (for example,
pi-user):pi-user soft nofile 65536 pi-user hard nofile 65536
If the number of APIs in the environment is greather than 1500, then set the
ulimitto131070.
-