How much load do you have on your box, and what consumes midaemon?
Now, the file you deleted will only release its space if it were not used... since it was growing I doubt...
Hi vbe,
It ranges between 1.00 and 2.00 on daily basis. Here's today load
As you can see, midaemon isn't running.
Quote:
Originally Posted by rbatte1
I forgot to say something else, quite important. If you have removed a large file (or large total size of files) and there was no change in the usage, then it could be that the file was in-use. The only thing you will have done is is to remove the entry from the directory it is in. The filesystem as a whole will still have the blocks marked as used until the process that has it open ends / closes it.
Use can use the fuser command to look for deleted files that are still in use on a filesystem. It depends on your OS as to what flags to use.
You are in the HP-UX thread, but I'm only a 11.11, so my fuser does have this as an option. On other platforms, you could use something like:-
Not sure if this helps, but I thought I should bring it up.
Robin
Hi rbatte1,
Yes, I've removed a single large file with size about 1.5 GB from /var/tmp directory. It was an application log file and I thought it was safe to delete it. It took several times of deletion before this file is totally disappeared. After that I ran bdf command and see no change on usage. I thought this is the root cause but it only last for a while. This log file is generated again by the application but with a smaller size.
Beside this file, I've also deleted some other files. I was panic at that time so I didn't record properly what files on which directory that I've deleted. Maybe one or several of them caused this problem. Current conclusion is I have to find process that is still accessing these files and kill it in order to release those files.
I'm using HP-UX 11.11 too but fuser command only support following options
Correct me if I'm wrong, since English isn't my native language Based on above options, fuser command can not be used to find process that is using deleted file.
Is there any other command that I can use for this purpose ?
Thank you 98_1LE....
Please help required urgently...
We are getting error message in SUN... Please give solution
ERROR MESSAGE:
NOTICE: alloc: /var: file system full
Output of command "df -k" in our system is...
Filesystem kbytes used avail capacity Mounted on... (1 Reply)
Hi All,
I have some threaded applications. Design of the application is such that one thread will decode some data and put it in data structure, And main thread will wait for another child threads pick up the decoded data. The data will be large decoded files.
Once decoded data is picked by... (1 Reply)
Hello, I recently found that my /var/sadm/install/contents, ~/admin/default, /var/spool/patch and /var/spool/pkg files were empty.
This broke the pkginfo, pkgchk and other package related tools.
The pkgmap no longer points to where the applications have been installed.
I have replaced the... (0 Replies)
Hi Everyone,
My var directory is showing near to 100% ? What are the files should i delete to make it less??
Kindly suggest
# bdf -i
Filesystem kbytes used avail %used iused ifree %iuse Mounted on
/dev/vg00/lvol3 1048576 107616 933616 10% 3342 29394 10% /... (10 Replies)
Hi,
There is no "administrator" file in "/var/mail" directory........
can any one tell me what could be the reason for that?...and also how to resolve that???
Thanks,
~Kavi (4 Replies)
Hi there,
I'm working on a Suse 8 based system and picked up that the crontab was missing. after some investigation i realized that the hole /var directory is missing. :mad:
I would like to now if its common for this directory to go missing?
Can I copy another Suse 8 /var directory to this... (10 Replies)
Hi Friends,
Actually in an linux server , there was printer jobs files occupying more space in /var/spool/cups so i want a script for deleting the files once in two week since i need the latest two weeks files.
Thanks in advance..Waiting for the script. (2 Replies)
I have been searching and reading about syslog. I would like to know how to Transfer the logs being thrown into /var/log/messages into another file example /var/log/volumelog.
tail -f /var/log/messages
dblogger: msg_to_dbrow: no logtype using missing
dblogger: msg_to_dbrow_str: val ==... (2 Replies)