Tomket Memory Stick Error Log

Asked 2 years ago, Updated 2 years ago, 84 views

1. The db uses mysql and the server is Tomcat. It was a working server, but the server is not running because of a memory leak.

Error Log created a ThreadLocal with key but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.

When searched, http://knight76.tistory.com/entry/Tomcat-%EB%A9%94%EB%AA%A8%EB%A6%AC%EB%A6%AD-%EB%AC%B8%EC%A0%9C-%ED%95%B4%EA%B2%B0-Tomcat-7-6024-%EB%B6%80%ED%84%B0

I checked this site, but it's hard to find the answer to the problem.

sql-server

2022-09-21 14:52

1 Answers

When you start Tomcat, add the JMX option, monitor it, and find out where it keeps increasing to solve it.

-Dcom.sun.management.jmxremote.port=8086
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false

You can monitor it by connecting to the relevant JMX port with tools such as VisualVM and JConsole.


2022-09-21 14:52

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.