Common Errors
Here you will find a list of common errors and their solutions.
Error "no space left on device" shuts the server down
What happens
The console prints:
[jfr,system] Failed to write to jfr stream because no space left on device
Java is trying to save Java Flight Recorder (JFR) files inside the containerβs temporary directory. That tmp filesystem is very small; once it fills up, the JVM exits for safety.
The 30βsecond fix
Go to Startup β JVM Startup Flags / Arguments in your panel.
Add this flag exactly as shown, anywhere in the list:
-XX:-FlightRecorder -Djdk.jfr.disabled=true For versions prior to Java 11: -XX:+UnlockCommercialFeatures -XX:-FlightRecorder -Djdk.jfr.disabled=true If it still doesn't work then add this: -XX:-FlightRecorder -Djava.io.tmpdir=/home/container/tmp_jfr
Save the changes and restart the server.
Disabling JFR stops the .jfr
files from being written, so the "no space left on device" error disappears.
Do I lose anything by turning JFR off?
No. Gameplay and mods continue exactly the same; you only lose an advanced diagnostic recording that most people never use.
Last updated
Was this helpful?