On 10/1/2015 11:50 AM, Rallavagu wrote: > Solr 4.6.1, single Shard, cloud with 4 nodes > > Solr is running on Tomcat configured with 200 threads for thread pool. > As Solr uses > "org.apache.http.impl.conn.PoolingClientConnectionManager" for > replication, my question is does Solr threads use connections from > tomcat thread pool or they create their own thread pool? I am trying > to find out if it would be 200 + Solr threads or not. Thanks.
I don't know the answer to the actual question you have asked ... but I do know that keeping the container maxThreads at 200 can cause serious problems for Solr. It does not take a very big installation to exceed 200 threads, and users have had problems fixed by increasing maxThreads. This implies that the container is able to control the threads in Solr to some degree. The Jetty included with all versions of Solr that I have actually checked (back to 3.2.0) has maxThreads set to 10000, which effectively removes the thread limit for any typical install. Very large installs might need it bumped higher than 10000. Thanks, Shawn