[ 
https://issues.apache.org/jira/browse/SOLR-3693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cassandra Targett updated SOLR-3693:
------------------------------------
    Component/s: faceting

> SimpleFacets leak threads
> -------------------------
>
>                 Key: SOLR-3693
>                 URL: https://issues.apache.org/jira/browse/SOLR-3693
>             Project: Solr
>          Issue Type: Bug
>          Components: faceting
>            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 was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to