max file descriptors [4096] for elasticsearch process likely too low, increase to at least [65536]

 

在/etc/syscurity/limits.conf

加入以下两行:

elastic hard nofile 65536

elastic soft nofile  65536

#备注:elastic这里是指定用户elastic 当然可以用*表示所有人

sh-4.1# tail -2 /etc/security/limits.conf 
* hard nofile 65536
* soft nofile 65536

 

posted @ 2016-11-23 11:15  bass  阅读(3755)  评论(0编辑  收藏  举报