[TYPO3-Solr] Tomcat & Solr 4.8 / ulimit

Johann Höchtl jhoechtl at gmail.com
Wed Sep 3 10:30:09 CEST 2014


Hallo Lorenz,

try to set useCompoundFile true in your solrconfig.xml  (see https://cwiki.apache.org/confluence/display/solr/IndexConfig+in+SolrConfig).
If that’s not enough, set the mergeFactor to a value between 2 and 10.

Best regards,
Hans

Am 03.09.2014 um 10:21 schrieb Lorenz Ulrich <lorenz-typo3 at visol.ch>:

> Hi everyone
> 
> We're using Solr on a managed dedicated server with no root priviledges because the hosting provider does not provide services such als Solr 4.8 that are not available as an Ubuntu package. I adjusted the provided setup script to install Tomcat and Solr as a normal user and in general this works fine.
> 
> Now we had several crashed after Solr worked fine for some days. I could narrow down the problem to "Too many open files". After such a crash, lsof shows that Tomcat had > 4200 files open, e.g.:
> 
> java        5364   www-data 4036u      REG              252,4       101    5906403 /home/www-data/solr-tomcat/solr/typo3cores/data/german/tlog/tlog.0000000000000029705
> 
> Since the ulimit for open files is set to 4096, this must be the reason why Tomcat crashes.
> 
> Does anyone here also host an own Solr instance? If so, do you have the same amount of open files, i.e. is it normal that Solr needs so many open files? If so, what is your ulimit setting for open files?
> 
> Thanks for your help and best regards,
> 
> Lorenz
> _______________________________________________
> TYPO3-project-solr mailing list
> TYPO3-project-solr at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-solr



More information about the TYPO3-project-solr mailing list