/var/log/messages is taking huge size in gigabytes filling the / dir2403.2.15
/var/log/messages (Photon OS) and the /var/log/syslog (Ubuntu) directories serve as the central system log repo within a link system. Note: Photon OS uses /var/log/messages while Ubuntu uses/var/log/syslog.
truncate -s 0 /var/log/messagestruncate -s 0 /var/log/syslogrm -rf /var/log/messages.*.gzrm -rf /var/log/syslog.*.gzYou can also vacuum the Journal logs:
Review Disk usage:
journalctl --disk-usage
Vacuum the Journal logs:
journalctl --vacuum-size=100M