Dawid Weiss created SOLR-3693:
---------------------------------

             Summary: SimpleFacets leak threads
                 Key: SOLR-3693
                 URL: https://issues.apache.org/jira/browse/SOLR-3693
             Project: Solr
          Issue Type: Bug
            Reporter: Dawid Weiss


{code}
  static final Executor facetExecutor = new ThreadPoolExecutor(
          0,
          Integer.MAX_VALUE,
          10, TimeUnit.SECONDS, // terminate idle threads after 10 sec
          new SynchronousQueue<Runnable>()  // directly hand off tasks
          , new DefaultSolrThreadFactory("facetExectutor")
  );
{code}

This is created once and never shut down. 

I start wondering if it makes sense to add a filter to ignore things like this 
(which seems to be legitimate). We can either add longer lingering (10 seconds 
is awfully long though) or we can ignore such cases by thread name (there is a 
typo in 'facetExecutor' btw).

Let me know what you think.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to