Re:Running Out of Disk Space in Production
by coredog64 on Tuesday April 07, 2026 @10:26AM
(#47675919)
You don't want an alarm on a usage threshold, you want a linear regression that predicts when utilization will cross a threshold. Then you set your alarms for "How long does it take me to remediate this condition?"
[ Parent
| on HN ]
Re:Running Out of Disk Space in Production
by dotancohen on Wednesday April 08, 2026 @01:53AM
(#47685888)
That's far more complicated and fragile. Where are you storing this log of disk usage? If you already have some external time series database then this is already a solved problem. But for a single server, desktop, or embedded device you'll need a database or text log, a cron job to measure it, and another script to parse, make predictions, and then raise alerts.
And a single large dump to disk, like some daemon suddenly bugging out and writing incessantly to logs, will render all that moot anyway.