01 / 08
The number one reason a server stops
Straight to the real world. The most common reason a working server suddenly stops is this.
> the disk filled up
Unable to write, most programs come to a halt. The log cannot be written either, so sometimes not even the cause is left behind.
Worse, it arrives without warning. It grows little by little and one day it is full.
So two tools are provided.
df look at the free space of **the whole disk** (disk free)du look at **where** it is going (disk usage)The names are alike and easy to mix up. Remember them this way.
df = free -> how much is left?du = usage -> who used it?Look at the whole with df first, and when it looks dangerous, hunt the culprit with du. That order.