1/31/2020

How to fix "waagent logs disk space usage" ?


Sometimes, in the Azure environment, the waagent rsyslog can get out of control.

To Confirm

Look for the waagent in the process table and see it’s resource usage.

1 nice top -c
1 ps -ef | grep waagent
To Fix

Move the /etc/syslog.d/10-* files out of the way
  • 1 2 mkdir -p /tmp/old-stuff mv /etc/syslog.d/10-* /tmp/old-stuff
  • Restart rsyslogd
    1 sudo systemctl restart rsyslogd

When the system comes back, the waagent config files should be back in place and the system running much better.

Popular Posts