On Thu, Dec 18, 2008 at 9:03 AM, Alexander Ramos Jardim <alexander.ramos.jar...@gmail.com> wrote: > I can see from a thread dump that Solr opens a lot of threads. > > How does Solr use these threads? Does exist more than one thread for search > in Solr? Does Solr use any type of workManager or are the threads simple > java.lang.Thread ? How many concurrent threads does Solr create? How does it > manage them?
Unless distributed search is being used, Solr currently has one single thread executor for background warming. There is a thread-per-request, but that's just the way servlet containers work (Jetty, Tomcat, etc) You can control the max number of threads that are created in the servlet container config. -Yonik