Operating System - HP-UX
1849476 Members
6227 Online
104044 Solutions
New Discussion

bdf display result delay?

 
SOLVED
Go to solution
Jun Zhang_4
Regular Advisor

bdf display result delay?

10 minutes ago, /usr is 100% full, I then found the big log file (~700M) and deleted it. Now,
bdf still show it's 100% full. Why?

Jun
Food lover
5 REPLIES 5
Robert-Jan Goossens
Honored Contributor
Solution

Re: bdf display result delay?

Hi Jun,

The file is still open.

if you have lsof you can try to find the process which keeps the file open.

Hope this helps,
Robert-Jan
DIPAK KUMAR ROY
Frequent Advisor

Re: bdf display result delay?

Probably because the log file was in use when you deleted it.

Find the process that was using the log file (Use "fuser" command) and kill the process.

Thanks
RAC_1
Honored Contributor

Re: bdf display result delay?

Which file did you delete?

Most probable reason is that the file was being used when you deleted it. And the process that was using file has not released the space.

Just do touch /usr/file_you_deleted.

Now do
fuser -u /usr/file_to_be_deleted.

Check which process is using it.

You can also use lsof tool for this.

Once process closes the file, you can delete the file and space will be reclaimed.
There is no substitute to HARDWORK
Uday_S_Ankolekar
Honored Contributor

Re: bdf display result delay?

fuser -cu followed by the process related to the log file. Probably when you deleted the file was in "open" state. fuser command will show you the PID. Killing this process would release the space.

-USA..
Good Luck..
Jun Zhang_4
Regular Advisor

Re: bdf display result delay?

Thank you all for the analysis.

Jun
Food lover