Solr ulimits

Issue #25 resolved
Former user created an issue

Starting solr on my system by systems gives the following warnings:

Feb 19 09:48:35 libsolr01.int.dur.ac.uk systemd[1]: Started Apache SOLR. Feb 19 09:48:35 libsolr01.int.dur.ac.uk solr[257268]: [WARN] Your open file limit is currently 1024. Feb 19 09:48:35 libsolr01.int.dur.ac.uk solr[257268]: It should be set to 65000 to avoid operational disruption. Feb 19 09:48:35 libsolr01.int.dur.ac.uk solr[257268]: If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh Feb 19 09:48:35 libsolr01.int.dur.ac.uk solr[257268]: [WARN] Your Max Processes Limit is currently 7018. Feb 19 09:48:35 libsolr01.int.dur.ac.uk solr[257268]: It should be set to 65000 to avoid operational disruption. Feb 19 09:48:35 libsolr01.int.dur.ac.uk solr[257268]: If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh

I fixed this by adding LimitNOFILE=65000 LimitNPROC=65000

to the [Service] section of the systemd unit.

I'm currently experimenting with Solr 8.8

Thanks for your work!

Comments (2)

  1. Log in to comment