Ravi Sir's Cards › AWS
Disk full but rm freed nothing?
This interview card answers: Disk full but rm freed nothing? A process keeps the file open. Find deleted open files. Truncate instead.
Read card text
What this card says
What it is
A process keeps the file open.
Why it matters
Find deleted open files.
lsof +L1
How / example
Truncate instead.
truncate -s 0 app.log