lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cassandra Targett (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-3693) SimpleFacets leak threads
Date Thu, 04 Jan 2018 21:56:00 GMT

     [ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message