ThreadDump not showing in server.log

(Scampuza) #1

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

(Jochen) #2

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:

(Scampuza) #3

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

(system) closed #4

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