Too Many open file exception while indexin using solr

前端 未结 4 1574
一生所求
一生所求 2021-02-06 19:10

I am using SOLR for indexing documents in my web application and solr.war is deployed on the jboss server. But while indexing i am getting too many files open exception. Below i

4条回答
  •  余生分开走
    2021-02-06 19:30

    As explained in this SOLR Jira, you can try the following options:

    • increasing your ulimit using: ulimit -n 1000000
    • set useCompoundFile to true in solrconfig.xml to use Lucene's compound file format
    • use a lower mergeFactor which will result in fewer segments and hence fewer open files.

提交回复
热议问题