Summary: system malfunction due to /var

From: Andreas Höschler <ahoesch_at_smartsoft.de>
Date: Mon Sep 08 2008 - 06:00:30 EDT
Dear  manager,

thanks to

"Rajiv Gunja" <opn.src.rocks@gmail.com>
Stuart Saxon <stuart.saxon@talk21.com>
Richard Skelton <Richard.Skelton@infineon.com>
"Hendrik Visage" <hvjunk@gmail.com>

> I have a serious problem with one of our servers. Users are complaining
> that sending mails, storing Star Office documents etc. does not work
> anymore. I checked "df -h" and got
>
> /dev/md/dsk/d0         116G   114G   1.6G    99%    /
> /dev/md/dsk/d3         2.9G   2.8G   5.0M   100%    /var
>
> d0 should not be the problem yet, but d3 is alarming. When I do
>
> 	du -sk /var
> 	2023430 /var
>
> I find that only 2 GB of the 2.9GB partition is used. Why is "df -h"
> telling me that 100% is used. I am sure the problems are related to the
> system not being able to store files in /var, but why?
>
> What can I do?

This of course was a problem of processes still running and thus not 
relasing the file space. It took me a while to realize that.I removed

	/var/log/syslog.2
	/var/log/syslog.3
	/var/log/syslog.4
	/var/log/syslog.5
	/var/log/syslog.6
	/var/log/syslog.7

and did

	/usr/sbin/svcadm disable system-log
	/usr/sbin/svcadm enable system-log
	/usr/sbin/svcadm restart system-log

but saw no increase of available space in "df -h" for /var!? I finally 
discovered 15 or so processes like

     root 26263     1   0   Aug 17 ?           0:59 tail -f 
/var/log/syslog

After killing all of them the space was available again.

Thanks a lot,

   Andreas
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon Sep 8 06:02:56 2008

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:12 EST