You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2020/08/28 06:13:21 UTC
[GitHub] [rocketmq] cytnju opened a new issue #2269: RequestHouseKeepingService has not been cleaned after DefaultMQProducerImpl shutdown
cytnju opened a new issue #2269:
URL: https://github.com/apache/rocketmq/issues/2269
**BUG REPORT**
1. Please describe the issue you observed:
- What did you do (The steps to reproduce)?
- 1.run this demo
```java
public staic void main(String[] args) {
DefaultMQProducer producer;
for(int i = 0; i < 99999; i++) {
producer = new DefaultMQProducer("group");
producer.start();
producer.shutdown();
}
// this case will throw OOM
}
```
- 2. thread dump and grep "RequestHouseKeepingService"

- What did you expect to see?
RequestHouseKeepingService will be cleaned after producer shut down.
- What did you see instead?

2. Please tell us about your environment:
```shell
jre : 1.8
os: mac os
rocketmq-version : 4.7.0
```
3. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
```RequestHouseKeepingService``` timer construction in ```DefaultMQProducerImpl```

```timer``` will sehcdule in fixed rate after producer start.

```timer``` does not shutdown when shutting down the producer.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] RongtongJin commented on issue #2269: [BUG] RequestHouseKeepingService has not been cleaned after DefaultMQProducerImpl shutdown
Posted by GitBox <gi...@apache.org>.
RongtongJin commented on issue #2269:
URL: https://github.com/apache/rocketmq/issues/2269#issuecomment-682390038
Same issue #1950 #1957
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] RongtongJin commented on issue #2269: [BUG] RequestHouseKeepingService has not been cleaned after DefaultMQProducerImpl shutdown
Posted by GitBox <gi...@apache.org>.
RongtongJin commented on issue #2269:
URL: https://github.com/apache/rocketmq/issues/2269#issuecomment-682389196
If I remember correctly, 4.7.1 has fixed the issue, could you help me verify it?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] RongtongJin closed issue #2269: [BUG] RequestHouseKeepingService has not been cleaned after DefaultMQProducerImpl shutdown
Posted by GitBox <gi...@apache.org>.
RongtongJin closed issue #2269:
URL: https://github.com/apache/rocketmq/issues/2269
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] RongtongJin commented on issue #2269: [BUG] RequestHouseKeepingService has not been cleaned after DefaultMQProducerImpl shutdown
Posted by GitBox <gi...@apache.org>.
RongtongJin commented on issue #2269:
URL: https://github.com/apache/rocketmq/issues/2269#issuecomment-682390650
I will close the Issue first, but please feel free to reopen it if the same issue still exists in version 4.7.1.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org