5

elasticsearch @ debian6 started by /etc/init.d max_file_descriptors

view full story
linux-howto

http://serverfault.com – I have installed elasticsearch @ debian6 by this tutorial. I have set up my system max open files directives so i have these values: # su # cat /proc/sys/fs/file-max 70000 # ulimit -Hn 64000 # ulimit -Sn 32000 When i check elasticsearch max_file_descriptors by: curl -XGET 'http://localhost:9200/_nodes?process=true&pretty=true' i'll get 1024. When i restart it by root user, it has "max_file_descriptors" : 64000 now. Whats wrong with that init.d autostart? When i check htop, elastic autostarted by init.d with that 1024 descriptors is runnig under root user too. (HowTos)