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

multi nic: multus call kube-ovn oom-killled #3043

Closed
bobz965 opened this issue Jul 17, 2023 · 4 comments · Fixed by #3047
Closed

multi nic: multus call kube-ovn oom-killled #3043

bobz965 opened this issue Jul 17, 2023 · 4 comments · Fixed by #3047

Comments

@bobz965
Copy link
Collaborator

bobz965 commented Jul 17, 2023

Expected Behavior

Actual Behavior

if multus limit to 50Mi, multus-daemon call kubeovn will be oom killed(sacrifice child).

Steps to Reproduce the Problem

image
image

it looks like kube-ovn cost total-vm: 785284KB, anon rss 19656KB, file rss: 34184KB

Additional Info

  • Kubernetes version:

    Output of kubectl version:

    (paste your output here)
    
  • kube-ovn version:

    (paste your output here)
    
  • operation-system/kernel version:

    Output of awk -F '=' '/PRETTY_NAME/ { print $2 }' /etc/os-release:
    Output of uname -r:

    (paste your output here)
    
@bobz965 bobz965 changed the title multi nic: benchmark multus call kube-ovn multi nic: multus call kube-ovn oom-killled Jul 17, 2023
@zhangzujian
Copy link
Member

Which version are you using? I cannot reproduce the OOM error.

@bobz965
Copy link
Collaborator Author

bobz965 commented Jul 17, 2023

Which version are you using? I cannot reproduce the OOM error.

ohhh, it is kube-ovn:v1.11.9

@zhangzujian
Copy link
Member

I cannot reproduce this error in v1.11.9 either. Could you please provide more details?

@bobz965
Copy link
Collaborator Author

bobz965 commented Jul 18, 2023

I cannot reproduce this error in v1.11.9 either. Could you please provide more details?

噢 我们的环境之前有很多 vm 在重建,可能是在这种情况下,导致并发的调用 kube-ovn-cni 二进制同时存在多个,从另一个角度看,将 multus-daemon 的内存设置小一点可以稳定复现,但是我这边最想弄清楚的点是 为什么 oom kill 信息显示的调用者和被调用者(kubeovn 二进制)占用的内存会那么多,我不太清楚一个 kubeovn cni 二进制的调用一般情况下应该占用多少内存。

@zhangzujian zhangzujian linked a pull request Jul 18, 2023 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants