PingIntelligence

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

  1. Set the vm.max_map_count to 262144 on the Elasticsearch virtual machine (VM) by entering the following command:

    $sudo sysctl -w vm.max_map_count=262144
  2. To make the setting persistent across reboots, run the following command:

    $sudo echo "vm.max_map_count=262144" >> /etc/sysctl.conf
  3. Set the ulimit to 65536 on the ASE, ABS, MongoDB, and Elasticsearch hosts. To set the ulimit:

    1. Edit /etc/security/limits.conf for increasing the soft limit and hard limit.

    2. 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 ulimit to 131070.