Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

It was suggested to me that this may be the case: Sometimes it happens that you still have a file handle open to a file that has been deleted.

df -ht shows the disk usage increasing rapidly - like 1 GB per day. du -skh does not show any disk usage increase in areas that i control, except in weird parts like /proc (areas that should not be deleted)

A server restart will free up all the extra used disk usage.

How can I track down the process or file that is responsible for this behavior?

share|improve this question

migrated from stackoverflow.com Jul 14 '11 at 3:30

This question came from our site for professional and enthusiast programmers.

1 Answer 1

You can grep deleted open files from the output of lsof:

lsof | grep deleted
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.