hung vi process tying up disk space (236 Views)
Reply
Advisor
Doug Wilburn
Posts: 31
Registered: ‎10-01-2004
Message 1 of 2 (236 Views)

hung vi process tying up disk space

A user (a DBA) tried to vi a huge file. After vi was taking so long to return, he realized what he was trying to do and in another session, deleted the file. He did this 2 times. Now the two vi process are "hung" - root can't kill the process, even with kill -9. In addition, the file system (where these files were located) is showing it is nearly full but a "du" and searching the fs doesn't reveal any large files anymore. What can be done - besides shutdown/reboot?

Acclaimed Contributor
Dennis Handly
Posts: 25,058
Registered: ‎03-06-2006
Message 2 of 2 (225 Views)

Re: hung vi process tying up disk space

>is showing it is nearly full but a "du" doesn't reveal any large files

 

That's what happens when you delete large open files.

 

>What can be done - besides shutdown/reboot?

 

That's probably about it, unless they are zombies.  Any processes taking lots of CPU time or doing lots of I/O?

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.