1. [2018-01-17T18:41:22,328][INFO ][o.e.b.BootstrapChecks ] [cms-node1] bound or publishing to a non-loopback address, enforcing bootstrap checks
    2. ERROR: [4] bootstrap checks failed
    3. [1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
    4. [2]: max number of threads [1024] for user [elsearch] is too low, increase to at least [4096]
    5. [3]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
    6. [4]: system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk
    7. [2018-01-17T18:41:22,369][INFO ][o.e.n.Node ] [cms-node1] stopping ...
    8. 问题二:
    9. ERROR: bootstrap checks failed
    10. max file descriptors [4096] for elasticsearch process likely too low, increase to at least [65536]
    11. 原因:无法创建本地文件问题,用户最大可创建文件数太小
    12. 解决方案:
    13. 切换到root用户,编辑limits.conf配置文件, 添加类似如下内容:
    14. vi /etc/security/limits.conf
    15. 添加如下内容:
    16. * soft nofile 65536
    17. * hard nofile 131072
    18. * soft nproc 2048
    19. * hard nproc 4096
    20. 备注:* 代表Linux所有用户名称
    21. 保存、退出、重新登录才可生效