Permalink Submitted by Tom Burton-West on March 12, 2010
Hi Otis,
I can answer the part about why we don't use a single JVM with 10 Solr instances. In our earlier system where we had 2 Solr instances sharing one tomcat/JVM, we found that for unknown reasons one Solr instance would claim all free heap (more than it would ever claim when running in its own JVM) and then the other Solr instance would hang when it needed more memory for a critical operation. One advantage of using 10 separate Solr/JVMs is that if one Solr instance/JVM gets an OOM while indexing, the others can continue indexing.
As far as using 10 cores, I don't know enough about the advantages (other than ease of configuration and deployment) of using 10 Solr cores instead of 10 separate Solr instances. Is there a performance or resource management advantage?
10 Solr Indexers
Hi Otis,
I can answer the part about why we don't use a single JVM with 10 Solr instances. In our earlier system where we had 2 Solr instances sharing one tomcat/JVM, we found that for unknown reasons one Solr instance would claim all free heap (more than it would ever claim when running in its own JVM) and then the other Solr instance would hang when it needed more memory for a critical operation. One advantage of using 10 separate Solr/JVMs is that if one Solr instance/JVM gets an OOM while indexing, the others can continue indexing.
As far as using 10 cores, I don't know enough about the advantages (other than ease of configuration and deployment) of using 10 Solr cores instead of 10 separate Solr instances. Is there a performance or resource management advantage?
Tom