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

ooom killed ruby2.3 process on instances where fluentd is running. #8

Closed
Saggi432 opened this issue Jan 16, 2019 · 3 comments
Closed

Comments

@Saggi432
Copy link

we have been facing the below errors when we run the fluentd on our cluster.. apparently getting killed with oom

on researching it looks like may have to include jmalloc as part of the ruby base image.. can you please confirm if you have any other proposed solutions instead ?

fluent/fluent-bit-kubernetes-logging#14

391524.805414] Memory cgroup out of memory: Kill process 3685518 (ruby2.3) score 1792 or sacrifice child
[468138.916915] Memory cgroup out of memory: Kill process 859933 (ruby2.3) score 1792 or sacrifice child
[647901.248286] Memory cgroup out of memory: Kill process 2442358 (ruby2.3) score 1792 or sacrifice child
[675732.117926] IPv6: ADDRCONF(NETDEV_UP): vethb0d99b50: link is not ready
[729039.765037] [371792] 0 371792 164959 39926 266 4 0 994 ruby2.3
[729039.774334] Memory cgroup out of memory: Kill process 371792 (ruby2.3) score 1775 or sacrifice child
[729039.783915] Killed process 371792 (ruby2.3) total-vm:659836kB, anon-rss:149212kB, file-rss:10492kB, shmem-rss:0kB
[729039.821620] oom_reaper: reaped process 371792 (ruby2.3), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
[853128.254617] Memory cgroup out of memory: Kill process 2316873 (ruby2.3) score 1792 or sacrifice child
[953790.700466] Memory cgroup out of memory: Kill process 3246659 (ruby2.3) score 1792 or sacrifice child`

@idohalevi
Copy link
Contributor

idohalevi commented Feb 19, 2019

@Saggi432
Were you able to solve the issue? We never had this issue before

@bdashrad
Copy link
Contributor

Try raising the memory requests and limits in your deployment. The lines here can be changed https://github.com/logzio/logzio-k8s/blob/master/logzio-daemonset.yaml#L29-L34

@idohalevi
Copy link
Contributor

@bdashrad
Great feedback!! thank you for the reply

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

No branches or pull requests

3 participants