Uploaded image for project: 'Apache RocketMQ'
  1. Apache RocketMQ
  2. ROCKETMQ-341

Thread leak ( PullMessageServiceScheduledThread ) in PullMessageService

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0.0-incubating
    • Fix Version/s: None
    • Component/s: rocketmq-client
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              vintagewang Xiaorui Wang
              Reporter:
              superheizai superheizai
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: