Date: Mon, 7 Feb 2005 16:34:31 -0500 From: Ben Dover <dawgeestyle@gmail.com> To: freebsd-questions@freebsd.org Subject: Fwd: /var Full Message-ID: <5ae9cd5505020713345b617b02@mail.gmail.com> In-Reply-To: <200502080024.41683.shinjii@virusinfo.rdksupportinc.com> References: <200502072248.41306.shinjii@virusinfo.rdksupportinc.com> <420778F0.6040300@locolomo.org> <200502080024.41683.shinjii@virusinfo.rdksupportinc.com>
next in thread | previous in thread | raw e-mail | index | archive | help
You might want to try doing a cd /var and then try the command du -h which will show how much space each directory is using thus showing what is eating up your space. Compare this to df -h and if the numbers dont hash out a process is keeping disk space. To find out which process could be doing that you can install lsof from /usr/ports/sysutils/lsof In my case it was as easy as killing apache and restarting it and I cleared up hundreds of MB of space. ---------- Forwarded message ---------- From: Warren <shinjii@virusinfo.rdksupportinc.com> Date: Tue, 8 Feb 2005 00:24:41 +1000 Subject: Re: /var Full To: freebsd-questions@freebsd.org On Tue, 8 Feb 2005 12:19 am, Erik Norgaard wrote: > Warren wrote: > > im trying to get cacti working, but since im using a small P2 300 machine > > with a small hdd my /var has suddenly become full and im wodering what is > > safe and not safe so to speak to del in the /var dir > > Although you have now found your solution, I'd recommend for such a > question to submit the output of 'du -d1' instead - this will show which > directories are using up the space. > > Cheers, Erik enterprise# du -d1 /var 2 /var/.snap 2 /var/account 6 /var/at 16 /var/backups 4 /var/crash 8 /var/cron 32946 /var/db 2 /var/empty 2 /var/heimdal 2 /var/log 4 /var/mail 4 /var/msgs 2 /var/preserve 40 /var/run 2 /var/rwho 185556 /var/spool 5376 /var/tmp 20 /var/yp 26 /var/named 28 /var/smtpd 224050 /var -- Yours Sincerely Shinjii http://www.shinji.nq.nu _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5ae9cd5505020713345b617b02>