file system rootfs, which is mounted at /, has reached warn status because it is 90% full
I am receiving this email message titled "The file system rootfs, which is mounted at /, has reached warn status because it is 90% full."
The rootfs & /dev/root is 90% full (please see bellow). What Can I do now? How to clean this and get free spaces?
I also found this 16 GB files here:
please help me.
root@host [/]# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 49G 42G 4.9G 90% /
/dev/root 49G 42G 4.9G 90% /
devtmpfs 16G 272K 16G 1% /dev
/dev/md3 1.8T 17G 1.7T 1% /home
tmpfs 16G 0 16G 0% /dev/shm
/dev/loop0 485M 11M 449M 3% /tmp
/dev/loop0 485M 11M 449M 3% /var/tmp
I also found this 16 GB files here:
root@host [/var]# find /var -type f -size +500000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
/var/log/messages: 19G
please help me.
-
Hey, /var/log/messages contains the general logs associated with your server. If you do not have anything to check or investigate, you can safely clear this log to free up the space ! Also, why not consider about enabling log rotation for these logs ? I guess you haven't turned it on yet ? 0 -
@triantech, Did you mean schedule logging? If not, how can i do that? In WHM Backup settings previously it was each day of week. But I set it today once a week. please tell me how to enable enabling log rotation and proper setting. 0 -
Hello :) Log rotation for /var/log/messages is an OS-level function as opposed to a cPanel/WHM function. You can enable logrotate for /var/log/messages using the instructions in the following thread as an example: Log Rotation Thank you. 0 -
hey, yes it's pretty simple to configure log rotation since the config file, etc/logrotate.conf is straightforward 0
Please sign in to leave a comment.
Comments
4 comments