Disk full: SSH drops and JSON writes truncate
Deploy and infrastructure
Symptom
Files saved truncated and corrupt. New SSH sessions won't open.
Cause
The CMS stores the original plus 4–8 thumbnail sizes. Uploading ~1,000 items at once filled the 10GB quota in a day.
Four-layer defense
- Shrink originals at upload (long edge 1000px, q78)
- Generate only the thumbnail sizes actually used (measured: just 4)
- A disk-monitoring cron
- Cap the number of images the uploader sends
Recovered a third of the disk.