Azure / Azure/azure-linux-extensions
High CPU when diagnostic agent cannot reach event hub
- Dominant language
- Python
- Stars
- 333
- Forks
- 278
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 4
Description
On a Linux (centos 7.9.2009) vm, when event hub access is unavailable (via firewall rule, or other) the diagnostic agent consumes 100% cpu. In this state, logs will contain many things such as:
2020-09-25T23:24:53.3588310Z: MDSCMD Error: EH publish to https://....servicebus.windows.net/eventhub/messages failed: Failed to read HTTP status line
2020-10-07T19:10:22.8354670Z: MDSCMD Error: EventPersistMgr::ProcessFileData failed to upload file X2Jec5
2020-10-07T19:10:22.8371300Z: MDSCMD Error: EH async publish to https://....servicebus.windows.net/eventhub/messages failed with http response: Error resolving address
In this scenario, it would be nice if the VM could remain stable. Is there any config setting or change I could make to alleviate this? Thank you.

Agent Versions:

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.