I have my loadbalancer (HAProxy) configured to check Solr for a healthcheck file every 2 seconds.
<admin> <defaultQuery>solr</defaultQuery> <healthcheck type="file">solr/conf/healthcheck.txt</healthcheck> </admin> However it keeps marking my slaves as down and I am seeing this error: Apr 10, 2010 12:29:20 PM org.apache.solr.core.SolrCore execute INFO: [items] webapp=/solr path=/admin/file params={file=healthcheck.txt} status=0 QTime=0 Apr 10, 2010 12:29:20 PM org.apache.solr.common.SolrException log SEVERE: java.io.FileNotFoundException: /var/solr/home/items/conf/healthcheck.txt (Too many open files) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:137) at java.io.FileReader.<init>(FileReader.java:72) at org.apache.solr.common.util.ContentStreamBase$FileStream.getReader(ContentStreamBase.java:118) at org.apache.solr.request.RawResponseWriter.write(RawResponseWriter.java:83) Obviously solr is keeping too many files open, but how can I solve this problem so I can use this file as my healthcheck? Thanks -- View this message in context: http://n3.nabble.com/Healthcheck-Too-many-open-files-tp710631p710631.html Sent from the Solr - User mailing list archive at Nabble.com.