Re: [foxboro] /var full, but none of the usual offenders

Hi Frits,

  I periodically empty online.log (& other files) by replacing the contents 
with a space.  Informix doesn't seem to mind and the disk space is instantly 
reclaimed without stopping/starting.

echo " ">online.log

 Steve Murray
Asarco

-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] On 
Behalf Of Schouten, Frits JF
Sent: Wednesday, November 04, 2009 6:17 PM
To: 'foxboro@xxxxxxxxxxxxx'
Subject: Re: [foxboro] /var full, but none of the usual offenders

Hi Kevin,
have you tried du -sk * in /var?

btw. the most likely contender for filling up /var is /var/tmp/online.log.
Deleting it will not clear it. Informix is keeping track of it by inode.
A reboot or stop/start Informix is required to clear the space used up by 
online.log.

Cheers,
Frits.

-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] On 
Behalf Of Kevin Fitzgerrell
Sent: Thursday, 5 November 2009 1:58 PM
To: foxboro@xxxxxxxxxxxxx
Subject: [foxboro] /var full, but none of the usual offenders

Hi all,
I've got an odd problem on one of my E box AWs.

My /var partition is full (nothing unusual there), but we've gone through and 
can't find any of the usual offenders.  /var/adm/utmp,utmpx,wtmp,wtmpx are all 
small.  The cron and mail logs are also small, and there aren't any print jobs 
in the spool or lp directories.  Nothing unusual in /var/tmp.

Checking for large files gets me very little:

AW301F# df -kFufs

Filesystem            kbytes    used   avail capacity  Mounted on
/dev/md/dsk/d0         68571   27293   34428    45%    /
/dev/md/dsk/d4        953015  398414  459301    47%    /usr
/dev/md/dsk/d2         42655   42128       0   100%    /var
/dev/md/dsk/d5       15281341 2297913 11455298    17%    /opt
AW301F#cd /var
AW301F# find . -fstype urfs -prune -o -type f -a -size +20 -ls

  555 1416 -rw-r--r--  1 root     other     1436513 Nov 13  2001
./sadm/install/contents
18060   18 -rw-r--r--  1 root     other       18376 Jul 31  2001
./sadm/pkg/SUNWcsu/save/105256-01/undo.Z
  243   21 -rw-r--r--  1 root     root        20571 Nov 13  2001
./sadm/pkg/SUNWcsu/pkginfo
  470   11 -rw-r--r--  1 root     root        10421 Nov 13  2001
./sadm/pkg/SUNWcsr/pkginfo
  362   29 -rw-r--r--  1 root     other       29403 Sep 30  1997
./sadm/pkg/SUNWidecr/install/postinstall
  363   29 -rw-r--r--  1 root     other       29403 Sep 30  1997
./sadm/pkg/SUNWidecr/install/preremove
  437   19 -rw-r--r--  1 root     root        19024 Jul 31  2001
./sadm/system/admin/.clustertoc
18058   11 -rw-r--r--  1 root     root        11013 Jul 31  2001
./sadm/system/logs/install_log
18080   13 -rw-r--r--  1 root     root        13252 Jul 31  2001
./sadm/system/logs/finish.log
  353   24 -rw-r--r--  1 root     other       23623 Nov 13  2001
./sadm/patch/.patchDB
18271   11 -rw-r--r--  1 root     other       10897 Oct 23 14:51
./adm/messages.1
17665   40 -rw-r--r--  1 root     other       40543 Oct  8 18:54
./adm/messages.3
  382   55 -rw-r--r--  1 root     sys         55353 Oct 23 14:54
./saf/zsmon/log
18006   19 -rw-rw-rw-  1 root     root        18972 Oct 23 14:54 ./saf/_log
  617   11 -rw-rw----  1 root     informix    10623 Nov  4 23:18
./tmp/sysinfx.lOg

I moved the biggest file (./sadm/install/contents) off to /opt and no change in 
the /var/ partition size.

Any thoughts?

I'm assuming I've likely got a file system problem.

Regards,

Kevin


 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: