activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-1078) Thread pool executor occasionally misses to create a new thread
Date Thu, 30 Mar 2017 07:23:41 GMT

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

ASF GitHub Bot commented on ARTEMIS-1078:
-----------------------------------------

Github user dudaerich commented on the issue:

    https://github.com/apache/activemq-artemis/pull/1144
  
    +1 for this improvement.
    
    I've reported issue with ThreadPoolExecutor in [ARTEMIS-968](https://issues.apache.org/jira/browse/ARTEMIS-968).
Part of the JIRA is [test](https://github.com/dudaerich/activemq-artemis/blob/ActiveMQThreadPoolExecutorTest/tests/unit-tests/src/test/java/org/apache/activemq/artemis/tests/unit/util/ActiveMQThreadPoolExecutorTest.java)
which reproduces the issue in old implementation. Could you add the test to this PR? I tried
to execute it and it passed.
    
    Thanks


> Thread pool executor occasionally misses to create a new thread
> ---------------------------------------------------------------
>
>                 Key: ARTEMIS-1078
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1078
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.5.2
>            Reporter: Bernd Gutjahr
>
> The thread pool executor class ActiveMQThreadPoolExecutor occasionally misses to create
a new thread. This happens if a thread for another task has just been created but not yet
started to work on its task. If that first task runs for a long time, the new task will be
deferred until the first task has completed.
> In our case, the occasionally blocked HA backup failover, when the failover-handler was
not run because an infinetely looping client connection reconnect task blocked the thread.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message