I have a 8Go compilation server, running a Jenkins instance, a Jenkins slave agent. All jobs run the same script sh. This script launches others scripts and a big ant build. In this build, several JVM can be launched (javac with fork, junitreports, etc etc …).
I need to track a OutOfMemoryError. But I can’t monitor the spawned Java processes with a tool because they are temporary.
I’m searching for a tool tracking all current and future JVM running on the server, and displaying memory graphs. Does it exist ?
Good question. I know of several tools to monitor/inspect JVM instances, but as far as I remember most of them rely on the JVM already being up and running.
I guess a solution would be to have a periodically running script what checks for JVM instances (use the command
jps) and then starts other monitoring tools…