filprofiler
filprofiler copied to clipboard
Situation where OOM detection isn't working (perhaps due to cgroup memory limits?)
This was inside docker-compose container (docker desktop 4.6.1 on MacOS 12.3.1), and I added the memory limit manually using docker update --memory 3000000000 --memory-swap 3000000000 <containername>. I confirmed the memory limit had taken effect via the MEM USAGE / LIMIT column in docker stats.
I haven't yet compared behaviour with our staging k8s cluster but it looks like I'm going to have to do that. I expect the memory-limit behaviour to be quite different there
Originally posted by @craigds in https://github.com/pythonspeed/filprofiler/discussions/364#discussioncomment-2690323