The image converter that secretly filled our disk space with 80GB of temp files

by•

Deployed a small dynamic image optimization service to compress user uploads on the fly. The image output was working fine, but I missed a line to delete the temporary cache directory after processing.
Two days later disk space hit 100%, the Docker daemon crashed, and the entire staging server stopped accepting incoming web traffic.

6 views

Add a comment

Replies

Best

I've got alerts on my API usage that ping my phone when it crosses a line, and disk is worth the same treatment. A full disk two days later is exactly the kind of thing nobody sees until it breaks something.