Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[release/2.1] Determine memory load based on cgroup usage. #19650
referenced this pull request
Aug 24, 2018
.NET core applications are killed by OpenShift because they exceed their assigned memory. OpenShift/Kubernetes informs the app via the sysfs limit_in_bytes. Then memory is monitored by the oom killer based on sysfs usage_in_bytes. .NET Core is using /proc/self/statm instead, which includes only RSS and not memory in cache as the usage_in_bytes.
Customer’s applications are killed by OpenShift because they exceed their assigned memory.
Original issue: #19060