Quiet Compile

Linux, small servers and other quiet hobbies

Keeping logs from eating the disk

A small virtual machine ran out of space because one service wrote verbose logs forever. Nothing was wrong with the service, it just never rotated.

The fix is a size limit on the system journal, logrotate rules for everything else, and a tiny daily check that warns before the disk is ninety percent full.

← All posts