2017-10-16 76 views
0

无法解决这些问题:为elasticsearch进程最大文件描述符太低

[2017-10-16T13:54:23,381][WARN ][o.e.b.BootstrapChecks ] [node-1] max 
file descriptors [65000] for elasticsearch process is too low, increase to 
at least [65536] 
[2017-10-16T13:54:23,382][WARN ][o.e.b.BootstrapChecks ] [node-1] max 
number of threads [1024] for user [appadm01] is too low, increase to at 
least [2048] 
[2017-10-16T13:54:23,382][WARN ][o.e.b.BootstrapChecks ] [node-1] system 
call filters failed to install; check the logs and fix your configuration or 
disable system call filters at your own risk 

我执行的sysctl -w fs.file-MAX = 65536,但我得到了同样的事情。

回答

0

你看过that page吗?

它说:

集ULIMIT -n 65536作为根开始Elasticsearch之前,或在/etc/security/limits.conf文件NOFILE设置为65536。