[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] FW: / partition full on RAQ4



Hi,

Most logs can go. Make sure to get the ones tagged with .1, .2 ..., as these are
the old ones. Check: /var/log/*.[1-9]

If you are using logrotate, check to make sure you have 'compress' uncommented
in /etc/logrotate.conf, as this will gzip your log files at rotation time,
making them smaller.

I also suggest limiting the number vi the 'rotate' keyword.

If you do a 'du -k /var | sort -n -r' and do this for your other directories
that are housed in '/' This should help find files that are huge. Track them
down, check the time stamp to see if they are written to constantly, and then
either remove or do a 'rm file;touch file' (create an empty one after deletion),
or move them to a partition with more space. Note that every daemon tends to log
somewhere, and that many require a SIGHUP (killall -HUP daemonname) to start the
logging once a removal has occurred.

I hope this helps.

Cheers!


Christopher

Michael Hooper wrote:

> Hi, I hope someone can help me with this, I'm getting worried.
>
> My root partition is at 95% full when I do a df. I have moved
> /usr/admserv/html/.cobalt/report/ to the /home/ partition and made a symlink
> as per the advise of someone on the list, however this did not seem to make
> a difference. Does anyone have any suggestions on what I can or cannot move
> or delete. Physical access to the box is not an option. Only mySQL is
> installed.
>
> TIA,
> Michael Hooper
> GlobalNet Media
> mhooper@xxxxxxxxxx
> (705) 792-2025
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users