Getting the Java thread id and stack trace of run-away Java thread

前端 未结 5 784
有刺的猬
有刺的猬 2020-12-14 09:19

On my busiest production installation, on occasion I get a single thread that seems to get stuck in an infinite loop. I\'ve not managed to figure out who is the culprit, af

5条回答
  •  攒了一身酷
    2020-12-14 10:03

    Nice,useful answers!

    For Linux, use ps -efL, -L option will show the LWPs. As a side note, the
    "http-342.877.573.944-8080-360" daemon prio=10 means "ThreadName(as given by the JVM)" runningmode(inherited from the pid) priority(inherited from the pid)

提交回复
热议问题