[mdlug] WTF /var/log
Wojtak, Greg
GregWojtak at quickenloans.com
Fri Jul 8 08:38:16 EDT 2011
On 2011-07-08 6:23 AM, "Robert Jim Fulner" <fulner at gmail.com> wrote:
>Wow,
>
>Lots of inoformation, almost none of which I understand!
>
> >
> >-- *MANY* things depend upon the /var directory to do their work. If
> >/var
> >fills up - things tend to stop working. Show us the output of "df
>>-h"
> >and we can narrow down what action you need to take.
>
>jim at debian:/var/log$ df -h
>Filesystem Size Used Avail Use% Mounted on
>/dev/sda1 37G 35G 0 100% /
>tmpfs 236M 0 236M 0% /lib/init/rw
>udev 232M 208K 231M 1% /dev
>tmpfs 236M 88K 236M 1% /dev/shm
>overflow 1.0M 16K 1008K 2% /tmp
>
> >Go to /var/log and do an 'du -ks * | sort -n' to see what is taking up
> >the space. You probably have some service installed that didn't define
> >a log rotation rule [or your log rotation just isn't working].
>
>Jim F. Output sudo du -ks /var/log/* | sort -n
>
>http://pastebin.com/Be09vR3V
>
Based on the output there, it looks like something is desperately trying
to send mail from or to your system. You can certainly remove any log
with a .<number> extension, but take a look at them first to try and
determine what's using the mailer on your system.
More information about the mdlug
mailing list