# Common Errors

## 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

1. Go to **Startup → JVM Startup Flags / Arguments** in your panel.
2. 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
   ```
3. 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.

{% hint style="info" %}
Usually the cause of this is the Spark plugin/mod, if the problem persists, simply remove it.
{% endhint %}

***

#### 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.
