Tag

Werkzeug

1 views collected around this technical thread.

NetEase Game Operations Platform
NetEase Game Operations Platform
Feb 8, 2020 · Backend Development

Diagnosing /tmp Disk Space Exhaustion in a Flask File Transfer Service: Understanding Werkzeug Form Parsing and Temporary File Handling

The article investigates a sudden /tmp disk‑space explosion in a Flask‑based file transfer service, analyzes the Werkzeug form‑parsing code that creates temporary files for uploads larger than 500 KB, demonstrates reproducible tests with inotify and Python scripts, and offers practical recommendations to prevent similar failures.

File UploadFlaskPython
0 likes · 13 min read
Diagnosing /tmp Disk Space Exhaustion in a Flask File Transfer Service: Understanding Werkzeug Form Parsing and Temporary File Handling