IBM Support

max file descriptors [65535] for elasticsearch process is too low, increase to at least [65536] in elasticsearch log

How To


Summary

The elasticsearch service does not work well from gui. The following issue is reported in the log:
max file descriptors [65535] for elasticsearch process is too low, increase to at least [65536].

Steps

  1. Get the elasticsearch service status.
    Command:
    # egosh service list -ll |grep elk
    Output:
    "elk-elasticsearch","","","","","","ALLOC","658","/ManagementServices/EGOManagementServices","ManagementHosts","dliforsup.eng.platformlab.ibm.com","1","1","FINISH","1271"
  2. Check the log file in the directory.
    Directory:
    $EGO_TOP/integration/elk/log/elasticsearch/elk-mastername.log.master_hostname
    Item:
    max file descriptors [65535] for elasticsearch process is too low, increase to at least [65536]
  3. Update the configuration file /etc/security/limits.conf
    Change the following:
         root   soft    nofile    65535
         root   hard    nofile    65535
         egoadmin   soft    nofile    65535
         egoadmin   hard    nofile    65535
    to as below:
         root   soft    nofile    65536
         root   hard    nofile    65536
         egoadmin   soft    nofile    65536
         egoadmin   hard    nofile    65536
  4. Logout and login.

Document Location

Worldwide

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSZU2E","label":"IBM Spectrum Conductor with Spark"},"Component":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
05 August 2019

UID

ibm10869466