I've been facing an issue that while using lsof | grep deleted
command, I got the following result:
sendmail 11633 smmsp 3uW REG 8,7 329818112 8119977 /var/spool/clientmqueue/dft4CCv1K5011633 (deleted)
tcpdump 11759 pcap 4w REG 8,7 446113333248 41846283 /var/kalsym/logs/CAPTimedOUT_monitor/capAbort_2015-05-12_17-57-01.pcap (deleted)
Then I follow this procedure.
cd /proc/11759/fd
> /proc/11759/fd/4
but after that, no effect has been observed on /var
size. I searched a lot on the Internet regarding this issue and tried all possible ways, but in vain. Please suggest me the way to overcome this issue.
kill 11759
. Or how abouttruncate -s0 /proc/11759/fd/4
? – yaegashi Feb 01 '16 at 12:12