Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edgeAgent consumes excessive RAM #6932

Open
mullerju opened this issue Feb 24, 2023 · 4 comments
Open

edgeAgent consumes excessive RAM #6932

mullerju opened this issue Feb 24, 2023 · 4 comments

Comments

@mullerju
Copy link

Current Behavior

edgeAgent was observed to keep allocating more and more system memory at a very slow rate over many months without ever freeing it.

Expected Behavior

NFR-004 - The EdgeAgent module must consume a maximum of 100 MB memory while maintaining optimal stability in a restricted environment and without impacting other resources on board.
NFR-004x– Requesting that Microsoft run a memory leak detection tool for all IoT Edges modules.

Steps to Reproduce

Steps available here : 2302240040005623 / 2206160040008200

Context (Environment)

Device (host) operating system : Redhat 8.2
Architecture : AMD64 (x86-64)

Runtime Versions

  • edgeAgent mcr.microsoft.com/azureiotedge-agent: 1.4 (Microsoft)
  • edgeHub mcr.microsoft.com/azureiotedge-hub: 1.4 (Microsoft)
  • medmblob mcr.microsoft.com/azure-blob-storage:1.4.2-linux-amd64 1.4.2 (Microsoft)
  • metrics-collector mcr.microsoft.com/azureiotedge-metrics-collector:1.0.10 1.0.10 (Microsoft)
  • Docker/Moby [run docker version]: moby-engine 20.10.18+azure-2.el8.x86_64
@nyanzebra
Copy link
Contributor

Hello, @mullerju

Want to understand the problem a bit more. From the linked repro steps, are you saying that the setup is one in which UploadModuleLogs is called and might be the cause for larger memory usage? If so, have you tried anything listed here in Logging Considerations?

If this is different to the above, would you mind explaining what the minimum modules and steps are for replicating this behaviour?

@mullerju
Copy link
Author

mullerju commented Mar 2, 2023

This currently being handle in support ticket TrackingID#2302240040005623

@github-actions
Copy link

github-actions bot commented Apr 2, 2023

This issue is being marked as stale because it has been open for 30 days with no activity.

@spark-iiot
Copy link

Any patches available from Microsoft for this issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants