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

Process killed because out of memory #155

Closed
viktoriaas opened this issue Feb 10, 2021 · 2 comments · Fixed by #157
Closed

Process killed because out of memory #155

viktoriaas opened this issue Feb 10, 2021 · 2 comments · Fixed by #157
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@viktoriaas
Copy link

What happened:
When I try to create multiple PVCs at once, the process inside NFS controller is killed because memory cgroup is out of memory

[1160550.652403] Memory cgroup out of memory: Killed process 2801203 (mount.nfs) total-vm:156432kB, anon-rss:71132kB, file-rss:4296kB, shmem-rss:0kB, UID:0

What you expected to happen:
PVCs are created.
How to reproduce it:
I think it is sufficient to request more resources than this file specifies (around lines 44, 64, 90). It already happend and was resolved only by manually rewriting amount of limits Deployment can request (I put 10x more)
Anything else we need to know?:

Environment:

  • CSI Driver version: latest master
  • Kubernetes version (use kubectl version): v1.19.3
  • OS (e.g. from /etc/os-release): CentOS Linux 8
  • Kernel (e.g. uname -a): Linux 4.18.0-240.10.1.el8_3.x86_64
  • Install tools:
  • Others:
@andyzhangx
Copy link
Member

andyzhangx commented Feb 10, 2021

so double the csi-provisoner memory limit would work? 1000Mi is too much, would you try double the memory limit next time? thanks.

resources:
limits:
cpu: 100m
memory: 100Mi

@andyzhangx andyzhangx added the kind/bug Categorizes issue or PR as related to a bug. label Feb 10, 2021
@viktoriaas
Copy link
Author

Doubling would work, container is requesting at least 156Mi so 200Mi should be fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants