On Sat, Apr 11, 2009 at 3:29 AM, vivek sar <vivex...@gmail.com> wrote:
> I also noticed that the Solr app has over 6000 file handles open - > > "lsof | grep solr | wc -l" - shows 6455 > > I've 10 cores (using multi-core) managed by the same Solr instance. As > soon as start up the Tomcat the open file count goes up to 6400. Few > questions, > > 1) Why is Solr holding on to all the segments from all the cores - is > it because of auto-warmer? You have 10 cores, so Solr opens 10 indexes, each of which contains multiple files. That is one reason. Apart from that, Tomcat will keep some file handles for incoming connections. > > 2) How can I reduce the open file count? Are they causing a problem? Tomcat will log messages when it cannot accept incoming connections if it runs out of available file handles. But if you experiencing issues, you can increase the file handle limit or you can set useCompoundFile=true in solrconfig.xml. > > 3) Is there a way to stop the auto-warmer? > 4) Could this be related to "Tomcat returning blank page for every > request"? > It could be. Check the Tomcat and Solr logs. -- Regards, Shalin Shekhar Mangar.