activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "yangwei (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ARTEMIS-1891) Sending synchronization finished packet starves when thread pool is full
Date Tue, 29 May 2018 02:25:00 GMT

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

yangwei updated ARTEMIS-1891:
-----------------------------
    Description: After sending pages, the thread will hold the storage manager write lock
and send synchronization finished packet(use the parent thread pool) to the backup node. At
the same time, thread pool is full bcs they are waiting for the storage manager read lock
to write the page or journal, leading to replication starting failure. Here we use io executor
to send replicate packet to fix thread pool starvation problem.  (was: After sending pages,
the thread will hold the storage manager write lock and send synchronization finished packet(use
the parent thread pool) to the backup node. At the same time, thread pool is full bcs they
are waiting for the storage manager read lock to write the page or journal, leading to replication
starting failure.)

> Sending synchronization finished packet starves when thread pool is full
> ------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1891
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1891
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>            Reporter: yangwei
>            Priority: Major
>         Attachments: synchronization_timeout.stack
>
>
> After sending pages, the thread will hold the storage manager write lock and send synchronization
finished packet(use the parent thread pool) to the backup node. At the same time, thread pool
is full bcs they are waiting for the storage manager read lock to write the page or journal,
leading to replication starting failure. Here we use io executor to send replicate packet
to fix thread pool starvation problem.



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

Mime
View raw message