lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-13030) MetricsHistoryHandler appears to never be "close()ed" - causes thread leaks?
Date Sat, 01 Dec 2018 17:10:01 GMT

    [ https://issues.apache.org/jira/browse/SOLR-13030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16705922#comment-16705922
] 

ASF subversion and git services commented on SOLR-13030:
--------------------------------------------------------

Commit d8f482f5fbae50a4d2ed1758a835a90768f5b279 in lucene-solr's branch refs/heads/jira/http2
from [~markrmiller@gmail.com]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=d8f482f ]

SOLR-13030: Update executor usage to work correctly with Java 11 and update Mockito &
HttpComponents to work with Java 11 and fix get remote info retry to work across jvms better.


> MetricsHistoryHandler appears to never be "close()ed" - causes thread leaks?
> ----------------------------------------------------------------------------
>
>                 Key: SOLR-13030
>                 URL: https://issues.apache.org/jira/browse/SOLR-13030
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Hoss Man
>            Assignee: Mark Miller
>            Priority: Major
>
> {{MetricsHistoryHandler}} implements {{Closeable}} and depends on it's {{close()}} method
to shutdown a {{private ScheduledThreadPoolExecutor collectService}} as well as a {{private
final SolrRrdBackendFactory factory}} (which maintains it's own {{private ScheduledThreadPoolExecutor}}
but -as far as i can tell nothing seems to every "close" this {{MetricsHistoryHandler}} on
shutdown.- after changes in 75b1831967982 which move this close() call to a {{ForkJoinPool}}
in {{CoreContainer.shutdown()}} it seems to be leaking threads.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message