Issue
ERROR: [1] bootstrap checks failed
[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
[2019-05-28T22:48:34,271][INFO ][o.e.n.Node ] [elasticsearch-01] stopping ...
[2019-05-28T22:48:34,301][INFO ][o.e.n.Node ] [elasticsearch-01] stopped
[2019-05-28T22:48:34,302][INFO ][o.e.n.Node ] [elasticsearch-01] closing ...
[2019-05-28T22:48:34,329][INFO ][o.e.n.Node ] [elasticsearch-01] closed
[2019-05-28T22:48:34,333][INFO ][o.e.x.m.p.NativeController] [elasticsearch-01] Native controller process has stopped - no new native processes can be started
Answer
Reason: The value of Type: Soft and HARD, Item: NOFILE in Limits.conf file is too low, and it needs to be increased to at least 65535
Solution: Modify /etc/security/limits.conf file, and then log in to the user
* soft nofile 65536
* hard nofile 131072
* soft nproc 4096
* hard nproc 4096