ThreadDump not showing in server.log

Hi there !

I would like to pinpoint a high CPU usage in GrayLog, and for that, I am taking some Thread Dumps using “kill -3 PID” . Usually, those Thread Dumps are written to stdout or stderr log files for the Java process running. In this case, Thread Dumps are not showing in server.log.

What could be happening ? Where are they being written ?

Thanks in advance

They are probably written to stdout, but the logs might not. Depending on your Log4j configuration, logs might directly be written to disk.

There are also other ways to get a thread dump:

1 Like

Well… that post is more than I asked for !! Thanks a lot !

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.