rocketmq-spring
rocketmq-spring copied to clipboard
2.2.4-SNAPSHOT运行一段时间就会报oom
The issue tracker is ONLY used for bug report and feature request.
Any question or RocketMQ proposal please use our mailing lists.
BUG REPORT
- Please describe the issue you observed:
- What did you do (The steps to reproduce)?
- 使用2.2.4-snapshot版本测试延迟功能,跑几个小时就会报oom异常,具体异常信息如下:
- Exception in thread "RocketmqClientAsyncWorker-2426-7298" java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
Caused by: java.lang.IllegalStateException: Expected the service ClientManagerImpl-2431 [FAILED] to be TERMINATED, but the service has FAILED at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractService.checkCurrentState(AbstractService.java:381) ~[rocketmq-client-java-5.0.5.jar:na] at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractService.awaitTerminated(AbstractService.java:338) ~[rocketmq-client-java-5.0.5.jar:na] at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractIdleService.awaitTerminated(AbstractIdleService.java:183) ~[rocketmq-client-java-5.0.5.jar:na] at org.apache.rocketmq.client.java.impl.ClientImpl.shutDown(ClientImpl.java:223) ~[rocketmq-client-java-5.0.5.jar:na] at org.apache.rocketmq.client.java.impl.producer.ProducerImpl.shutDown(ProducerImpl.java:126) ~[rocketmq-client-java-5.0.5.jar:na] at org.apache.rocketmq.client.java.impl.producer.ProducerImpl.startUp(ProducerImpl.java:118) ~[rocketmq-client-java-5.0.5.jar:na] at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractIdleService$DelegateService$1.run(AbstractIdleService.java:62) ~[rocketmq-client-java-5.0.5.jar:na] at org.apache.rocketmq.shaded.com.google.common.util.concurrent.Callables.lambda$threadRenaming$3(Callables.java:103) ~[rocketmq-client-java-5.0.5.jar:na] ... 1 common frames omitted Caused by: java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached at java.base/java.lang.Thread.start0(Native Method) ~[na:na] at java.base/java.lang.Thread.start(Thread.java:798) ~[na:na] at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractIdleService$1.execute(AbstractIdleService.java:114) ~[rocketmq-client-java-5.0.5.jar:na] at org.apache.rocketmq.shaded.com.google.common.util.concurrent.MoreExecutors$2.execute(MoreExecutors.java:980) ~[rocketmq-client-java-5.0.5.jar:na] at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractIdleService$DelegateService.doStart(AbstractIdleService.java:57) ~[rocketmq-client-java-5.0.5.jar:na] at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractService.startAsync(AbstractService.java:251) ~[rocketmq-client-java-5.0.5.jar:na] at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractIdleService.startAsync(AbstractIdleService.java:150) ~[rocketmq-client-java-5.0.5.jar:na] at org.apache.rocketmq.client.java.impl.ClientImpl.startUp(ClientImpl.java:182) ~[rocketmq-client-java-5.0.5.jar:na] at org.apache.rocketmq.client.java.impl.producer.ProducerImpl.startUp(ProducerImpl.java:114) ~[rocketmq-client-java-5.0.5.jar:na] ... 3 common frames omitted
-
What did you expect to see?
-
What did you see instead?
-
Please tell us about your environment:
-
Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
FEATURE REQUEST
-
Please describe the feature you are requesting.
-
Provide any additional detail on your proposed use case for this feature.
-
Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?
assign me to fix this bug