You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by "DevinLeamy (via GitHub)" <gi...@apache.org> on 2024/04/23 14:37:21 UTC
[PR] [cgroups2] Introduces API to read the peak memory usage. [mesos]
DevinLeamy opened a new pull request, #566:
URL: https://github.com/apache/mesos/pull/566
The cgroups2 control file `memory.peak` contains the maximum recorded memory usage for a cgroup and its descendants since creation.
Here we introduce `cgroups2::memory::peak_usage` to read this maximum.
---
`memory.peak` doesn’t always exist. It was introduced in May 2022 and was backported into RHEL 9.3 but our CentOS 9 distribution doesn’t use it.
src: https://stackoverflow.com/questions/66291245/is-it-possible-to-implement-max-usage-in-bytes-for-cgroup-v2
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@mesos.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [cgroups2] Introduces API to read the peak memory usage. [mesos]
Posted by "DevinLeamy (via GitHub)" <gi...@apache.org>.
DevinLeamy closed pull request #566: [cgroups2] Introduces API to read the peak memory usage.
URL: https://github.com/apache/mesos/pull/566
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@mesos.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [cgroups2] Introduces API to read the peak memory usage. [mesos]
Posted by "DevinLeamy (via GitHub)" <gi...@apache.org>.
DevinLeamy commented on PR #566:
URL: https://github.com/apache/mesos/pull/566#issuecomment-2072846999
Was intended to be used when there is an OOM event to report the maximum memory usage. Opted to use the value of `memory.current` at the time when the OOM takes place instead, because `memory.peak` does not exist on all hosts that support cgroups v2.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@mesos.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org