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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM