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 2019/08/09 03:25:24 UTC
[GitHub] [rocketmq] reallax commented on issue #1100: Broker crashed because
of insufficient memory for the Java Runtime Environment to continue
reallax commented on issue #1100: Broker crashed because of insufficient memory for the Java Runtime Environment to continue
URL: https://github.com/apache/rocketmq/issues/1100#issuecomment-519763041
Finally, I resolve this problem.
Every time load test will repeat this scenario. but this time, the error throws #IOException: Map failed#, and the logs shows broker mapped lots of file, I guess there is some relationship.
After tuning linux param: sysctl -w vm.max_map_count=655360, the problem solved.
Actually, this crash caused by ourself, because rocketmq has a tuning bash, we forget running.
`https://github.com/apache/rocketmq/blob/master/distribution/bin/os.sh`
----------------------------------------------------------------
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
With regards,
Apache Git Services