Disk issues can have wide reaching and sometimes seemingly unrelated consequences.
Here are some issues that can be caused by poor disk health and performance:
- Blank pages in the panel
- High CPU usage from MySQL and Liquidsoap
- Slowdown in panel
- Scheduling playout issues on liquidsoaps
- Slow installation/upgrades
- Silence between tracks
- Panel Crashes
Full Disk
If your disk is nearly full you will see a Disk Usage notification in the panel.
You can see disk usage in the panel as well as using the df command to see your disk usage when accessing your server over SSH:
df -h
We have some disk management recommendations on having enough backup space in our Secure Your Server Guide. Adding additional disks to store backups and media content can help quite a bit if you are filling up your disk, and will add added security.
Disk Latency
A common disk performance issue we see is high disk latency. This can be tested by running the following command, normal operation should return in 10-80ms:
dd if=/dev/zero of=/tmp/test2.img bs=512 count=1000 oflag=dsync
We consider 100ms to be poor performance anything higher we recommend contacting your VPS provider regarding this, potentially they can help but you will likely need to migrate to a server with better disk performance.
If you are specifically seeing running into liquidsoap issues due to latency, contact our helpdesk who can provide you with a temporary workaround by replacing your /usr/local/mediacp/htdocs/system/functions.php file