Azure / Azure/WALinuxAgent

[BUG] Consistent CPU / disk usage from waagent run-exthandlers

Open
#1,845 1 comment 1 reaction 1 assignee Claimed by @nagworld9 View on GitHub
V2
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:
![Metrics](https://user-images.githubusercontent.com/40004712/78077426-995b2580-7365-11ea-9748-b1d6d6a9d52c.png)

I only have the following Extensions installed on the VM:
![extensions](https://user-images.githubusercontent.com/40004712/78077633-eccd7380-7365-11ea-9418-af10dda4dac2.png)

**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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.