This article provides steps to reduce the size of /var/log/messages
and /var/mail/root
df -h
du -hcx / 2>/dev/null | sort -h -r | head -n 30
ls -lh /var/log/messages
ls -lh /var/mail/root
VMware Aria Operations for Logs 8.x
The file /var/mail/root is the default location for storing mail messages sent to the root user on Unix-like systems, such as Linux. This is typically the system mail file, where notifications, alerts, or error messages related to system operations, such as cron jobs or system processes, are sent to the root user.
service loginsight stop
truncate -s 0 /var/log/messages
truncate -s 0 /var/mail/root
Reboot the node to ensure that the used space is cleared out