sonic-net / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
728 stars 1.39k forks source link

Very slow but steady increase in memory usage for orchagent #20282

Open DavidZagury opened 2 weeks ago

DavidZagury commented 2 weeks ago

Description

Steps to reproduce the issue:

1.Run test on a system with no call to config reload / reboot for a long period of time.

Describe the results you received:

The memory usage of the orchagent is continuously rising e.g. Attached is a summary of the memory usage in one switch from for the eventd proccess from ~25mb on 2024-07-03 to 29mb two months later on 2024-09-16. Average RAM consumption per process in GB (2).csv orchagent

Describe the results you expected:

Memory usage shouldn't continuously rise with time.

Output of show version:

(paste your output here)

Output of show techsupport:

Version running is 202311, based on hash https://github.com/sonic-net/sonic-buildimage/commit/156b067c875967618232c02cb51b163e5e287e45

Additional information you deem important (e.g. issue happens only occasionally):

bingwang-ms commented 1 week ago

@DavidZagury Can you please share techsupport for this issue? Thanks!