Open KhantNayan opened 1 year ago
Hi @KhantNayan, sorry for the late answer. Do you see this growing indefinitely (so it never stops)? We have long haul tests and we did not notice this, but let me it up and see. I would think that it is related to caching and the memory gets freed when it is scarce.
Thank you @vipeller for the response. This memory utilization is growing continuously and we set the memory limitation to 500 MB, So the OutOfMemory killer is invoking at that limit. And due to OOM, sometimes system is misbehaving like not connected to iothub, threw exception in EdgeHub/EdgeAgent module
Attached support bundle support_bundle_2023_05_08_16_03_10_UTC.zip
@KhantNayan Hi, I see from the support bundle that there are many modules. Can you give me a hint about the message pattern, e.g. that these modules use module to module messages and what message size/message rate? I don't need the exact schema, just want to setup some similar test, I want to find the spot where it leaks, we don't see leaking in out long running tests
This issue is being marked as stale because it has been open for 30 days with no activity.
Microsoft has reproduced this problem on multiple occasions without succeeding in resolving it.
Any updates on this incident ?
Hi @spark-iiot, this issue is not actively being investigated. I asked some additional information on May 8th about your setup, so I could run a test with similar module number/behavior.
We have long running tests and those don't show memory leak. Those send through several 10 thousands of messages through several days.
We had memory leak problems in the past, resulted by different bugs, RocksDB, etc - some of them were found and fixed, others were worked around. These were triggered by specific use cases.
Without knowing your use case, I will not be able to repro it and see what may cause this. I need to run something similar than you do, so then I can check with memory profiling that what holds on the memory.
Please, give some information what you actually do:
Let me know your setup better, so we can create better tests to repro
Expected Behavior
Memory utilization by EdgeHub module should be constant
Current Behavior
Memory utilization by EdgeHub module is increasing
Steps to Reproduce
Context (Environment)
Output of
iotedge check
Device Information
Runtime Versions
iotedge version
]: 1.4.3docker version
]: 20.10.18+azure-2Additional Information
10-20 MB increasing at every 4 hours Below are the memory utilization be Edge Hub