Date: Tue, 16 Sep 2003 09:58:31 -0700 From: "Mike Maltese" <mike@pcmedx.com> To: "freebsd-questions" <freebsd-questions@freebsd.org> Cc: Gary <gv-list-freebsdquestions@mygirlfriday.info> Subject: Re: linking a dir Message-ID: <005a01c37c73$c1d21600$f4f0a8c0@pcmedx.com> References: <906762293.20030916105121@mygirlfriday.info> <003f01c37c6c$456bf100$f4f0a8c0@pcmedx.com> <958866990.20030916112625@mygirlfriday.info>
next in thread | previous in thread | raw e-mail | index | archive | help
> dev/ad0s1a 128990 86254 32418 73% / > > -r-xr-xr-x 1 root wheel 4122347 Apr 3 04:53 kernel > -r-xr-xr-x 1 root wheel 4122347 Apr 3 04:53 kernel.GENERIC > > I don't know which kernel is being used... Deleting one would surely help. Unless you're specifying it at boot, you can safely remove kernel.GENERIC. > Good question. This is a production Mail / DNS server (using qmail and > djbdns), so I have logs in /etc (by the default run script) minimally at > 100K each x10 (before they rotate out) for each of SMTP, SEND, another > SMTP, axfrdns, tinydns, dnscache, 2 rbls, and maybe one more... the SMTP > and SEND logs are at 250k each of 10... so you see how this can add up... I run postfix and BIND, so I'm not particularly familiar with those packages. I would think that there's some facility in those programs to specify a more appropriate place (like /var/log). Alternatively, if your logs are rotated by newsyslog, you could keep fewer log files and/or use bzip2 compression on the old ones. If not, you could write a shell script to accomplish the same thing. bzip2 gets my 500K maillogs down to ~35K, and I also keep 10 of them, so the savings is significant. The problem I have with this is 250K*10 and 100K*10 only adds up to 3.5M, hardly enough to take up the remainder of your partition. Do you have anything hanging around in /root?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005a01c37c73$c1d21600$f4f0a8c0>