Fix on cgroup type determination not in OTP 25

It seems that erts: Allow lack of optional fields when determining cgroup type by jhogberg · Pull Request #7402 · erlang/otp · GitHub is not backported to the latest OTP 25 patch package (25.3.2.7).

Folks tell me that Kubernetes 1.26 enforces cgroupsv2, so Erlang projects on OTP 25 will likely run into issues with CPU quota.

For VerneMQ, as an example, the issue is reported here: [Bug]: Issues with the correct CPU quota detection on k8s v1.26 · Issue #2207 · vernemq/vernemq · GitHub.

1 Like