You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@rocketmq.apache.org by "superheizai (JIRA)" <ji...@apache.org> on 2017/12/21 04:22:00 UTC

[jira] [Created] (ROCKETMQ-341) Thread leak ( PullMessageServiceScheduledThread ) in PullMessageService

superheizai created ROCKETMQ-341:
------------------------------------

             Summary: Thread leak ( PullMessageServiceScheduledThread ) in PullMessageService
                 Key: ROCKETMQ-341
                 URL: https://issues.apache.org/jira/browse/ROCKETMQ-341
             Project: Apache RocketMQ
          Issue Type: Bug
          Components: rocketmq-client
    Affects Versions: 4.0.0-incubating
            Reporter: superheizai
            Assignee: Xiaorui Wang


new pushConsumer and subscribe to one topic, and make it listen to the KILL signal, which will trigger the shutdown of the pushConsumer. When I send KILL signal and pushConsumer call the shutdown. Then I found, the client doesn't quit, and there is a non-deamon thread named PullMessageServiceScheduledThread is still there.
Then I find the name in rocketmq source, find it's a ScheduledExecutorService in PullMessageService. And there isn't any relevant implementation for close it.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)