[BUG] Consistent CPU / disk usage from waagent run-exthandlers
- Dominant language
- Python
- Stars
- 581
- Forks
- 397
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 9
Description
I am seeing consistent CPU usage of 2-3% coming from the waagent; specifically:
`python -u /usr/sbin/waagent -run-exthandlers`
This is observed from top and iostat, although I haven't been able to narrow down the exact filesystem writes that are occurring.
Here is the Metrics output for my VM, showing the consistent traffic which is abnormal:

I only have the following Extensions installed on the VM:

**Distro and WALinuxAgent details (please complete the following information):**
- Distro and Version: Oracle Linux 7.7
- WALinuxAgent version
WALinuxAgent-2.2.46 running on oracle 7.7
Python: 2.7.5
Goal state agent: 2.2.46
**Log file attached**
This is verbose logging of /var/log/waagent.log, after restarting the agent.
https://gist.github.com/jeffwmiles/3f56719566801b083a1c31a7a725ffd1
It appears that there is some sort of repeated RunCommands occurring every few seconds which is causing this behavior, but I don't know where to look to identify why or how to resolve.
Contributor guide
Assessment
This issue has not been assessed yet.