Walter Underwood <wun...@wunderwood.org> wrote: > I set this in jetty.xml, but it still created 4000 threads. > > <Get name="ThreadPool"> > <Set name="minThreads" type="int"> > <Property name="solr.jetty.threads.min" default="200"/></Set> > <Set name="maxThreads" type="int"> > <Property name="solr.jetty.threads.max" default="200"/></Set>
That sets a limit on the number of threads started by Jetty to handle incoming connections, but does not affect how many threads Solr can create. I guess you have ~20 shards in your cloud? The issue of the default 10K limit is an old one: https://issues.apache.org/jira/browse/SOLR-7344 I suggest you put a proxy in from of your Solr-cloud to handle queueing of incoming requests. - Toke Eskildsen