1752661 Members
5859 Online
108788 Solutions
New Discussion

Re: Filesytem Filling Up

 
Bill Thorsteinson
Honored Contributor

Re: Filesytem Filling Up

I have had problems with programs spinning on an error
condtion. If each try produces an error message then the device with the log file rapidly fills up.

Run tail and head on the file if you still have it. It could have been running for a day or two before you ran into space problems.

The cron log might be for an 'at' job. I can't check for
HP-UX right now.

Some programs will fill up the log device, then stay in
an output wait state until space is available. Once you
make space they resume their output.
Tim D Fulford
Honored Contributor

Re: Filesytem Filling Up

I would use
ksh
for i in $( fuser -c /var 2>/dev/null)
do
ps -fp $i | grep $i
done

This will list all active proccesses & PID's on /var. You can then investigate where they are writing.

I usually start with a large list & it soon trimms down to only a few "unsure of" process.

Tim
-