/var usage
Hi,
I'm trying to find out what is filling up /var on my server.
du and df commands gives me contrasting information... and I cannot find what it is that is filling up the filesystem...
# du -sk /var
148/var
# df -k /var
Filesystemkbytesusedavail capacity Mounted on
/dev/dsk/c0d0s5498271 4455702874100%/var
Thanks in advance for your help,
Rm
[412 byte] By [
sgtmura] at [2007-11-25 23:02:06]

# 2
Also check things like the printer spooling if you have any print queues setup. If the printing is not working correctly the spooling directories for printer(s) can fill up quite quickly.
Other things that you can ceck are things like old or redundant files in the /var/tmp directory, as well as any very large messages files (you can always zip the older messages files).
And as Brian said check for crash dumps and core files.
# 4
if du -sk & df -k giving you different usage information, try see anything data under /var directory on root partition. boot from cdrom and cd to /var. if /var is not mounted, then /var should be empty.....
SLIM at 2007-7-5 17:51:32 >

# 5
Hi all,
I had the same problem few months ago, the solaris administrator correct the problem but I don't remember how.
The story he explain me is something like :
one or more prcesses are crashed and the memory is still allocated and the system had not yet realized that there are no more process using the memory.
Hope this can help.
Laurent cagnac
# 6
go to this link it will explain what's happened in our case ...
<a href="http://mailman.linuxchix.org/pipermail/techtalk/2005-July/020373.html" target="_blank"> http://mailman.linuxchix.org/pipermail/techtalk/2005-July/02 0373.html</a>
that a linux article but the theory is the same