Make sure to increase the number of open files descriptors on the machine (or for the user running elasticsearch). Setting it to 32k or even 64k is recommended.
系统主机的文件句柄数建议设置为32k甚至64k,linux主机的默认句柄数一般1024,随着文件数量的增加将会发生文件句柄数量太多异常 一种不改变系统配置的方法是把“ulimit -n 32768” 加到bin/elasticsearch执行脚本中 elasticsearch配置说明:http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-configuration.html