princegarg001 commented on issue #212: URL: https://github.com/apache/rocketmq-dashboard/issues/212#issuecomment-2769118765
It can fix the high CPU usage and JSON file update failure in RocketMQ Console after prolonged execution: increase JVM heap size and optimize garbage collection using -Xms1g -Xmx4g -XX:+UseG1GC to prevent excessive Full GC events. Identify and fix high CPU-consuming threads using jstack <PID> to detect infinite loops or stuck processes. Reduce logging overhead by setting org.apache.rocketmq log level to WARN in logback.xml to prevent excessive disk and CPU usage. Ensure RocketMQ Console has write permissions for ../rocketmq-console/data/ using chmod -R 755 and restart the console periodically using a cron job (0 */48 * * * pkill -f rocketmq-console && nohup java -jar rocketmq-console-ng.jar &). Finally, upgrade to the latest RocketMQ Console version to apply recent bug fixes and performance improvements. this is highly supported and increase capablities . I had started solving this issue soon i will update you regards Prince Garg -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
