Skip to content
You are reading Hyperledger Besu development version documentation and some displayed features may not be available in the stable release. You can switch to stable version using the version box at screen bottom.
Last update: August 13, 2020

Java Flight Recorder

Java Flight Recorder(JFR) is a monitoring tools that collects information about the Java Virtual Machine(JVM) when Hyperledger Besu is running. Use the JFR as a tool to analyse Besu performance.

Enabling Java Flight Recorder

To enable JFR, add the following to the Java runtime arguments:

-XX:StartFlightRecording=disk=true,delay=15s,dumponexit=true, \
filename=/tmp/recording.jfr, maxsize=1024m,maxage=1d, \


When recording, cleanly exiting Besu results in better data. If not possible to cleanly exit, the file may be missing some information not flushed to disk.

Inspect the file written to /tmp/recording.jfr with tools such as Mission Control.


If providing the output file to PegaSys support, be aware that while JFR files do not contain secrets such as private keys, some details about the user configuration can be inferred from the JFR output.

Questions or feedback? You can discuss issues and obtain free support on Hyperledger Besu chat channel.
For Hyperledger Besu community support, contact the mailing list