-
Notifications
You must be signed in to change notification settings - Fork 22
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
Controlplane part of forwarder-vpp
leaks
#1129
Comments
All changes that fix |
It seems like the problem is still existing and the forwarder is leaking. The picture shows mem consumption for forwarder vpp. forwarder-vpp_goroutineprofiles_20240920082027.tar.gz |
Current plan
|
After fixing context leaks in 3h of testing:
18h of testing:
3d20h of testing:
4d5h of testing:
30m after testing:
memory and goroutine profiles don't show any leaks 30m after testing. Here are all profiles: traces.zip |
@NikitaSkrynnik attached archive is empty, could you resend it? |
forwarder-vpp
leaksforwarder-vpp
and nsmgr
leaks
NSMGR TestingWe found that Go runtime in Current memory consumption can be found in
As you can see memory consumption of Here are also the values from go runtime in
HeapIdle tells that
Here is
and
The default behaviour can be changed with env var
As you can see the Go runtime memory stats:
So 28mb total. 40mb - 28mb = 12mb is still unknown. Part of the memory may be related to opened files because memory.stats from the kernel show:
Also the kernel shows that
Further investigation will be related to open |
forwarder-vpp
and nsmgr
leaksforwarder-vpp
leaks
Description
forwarder-vpp
has two interface leaks:timeout
chain element doesn't callClose
for expired connections. Therefore,vpp
interfaces are not deletedClose
inforwarder-vpp
it doesn't deletevxlan
interfacesTasks
timeout
doesn't callClose
- 8htimeout
chain element close connetions faster - 1htimeout
chain element - 1htimeout
- 3htimeout
chain element - 24hforwarder-vpp
doesn't closevxlan
interfaces - 6hvxlan
problem - 16hTotal: 54h
The text was updated successfully, but these errors were encountered: