

The first step you can perform if you experience this issue is the check the disk space usage on your server using df.


With few simple BASH commands, you can quickly check which folders and files are the most disk space consuming on your system Script summary However, sometimes you might get the famous "No space left on device" error message without knowing what is taking the disk space. In most cases, the server can run out of disk space due to huge session files or even an error log file growing up to hundreds of Gigabytes. If you've ever had to deal with a Linux server that was out of disk space at some point you know that it's important not to run into the same situation again.
