Re:Guide to OOMKill Alerting in Kubernetes Clusters
by draganm on Monday November 23, 2020 @07:18PM
(#25193640)
as for the first question - that wouldn't be enough. AFAIK mmap-ed pages are part of RSS and it's quite usual for them to use up everything up to the memory limit (databases kind of rely on this 'feature'). None of that would provoke an OOMKill.
for the second comment - I've used images the author has published on Docker hub. Maybe there would've been a way to make it work, but if you take a look at the amount of code in missing-container-metrics, you will realise that I've used less time to write that than I would've spent debugging someone else's Docker build and golang code that is not really maintained.
Re:Guide to OOMKill Alerting in Kubernetes Clusters
by linsomniac on Monday November 23, 2020 @08:49PM
(#25194356)
I mean that's fine if you're ok with 30% wasted memory... We just recently had to tune some JVM and monitoring settings because we do the initial and max heap allocation to around 90% memory. There's very little else going on.
that "no such file or directory" looks to be coming from building a dynamic executable on debian and trying to run it on alpine.