[
https://issues.apache.org/jira/browse/MESOS-7990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16175448#comment-16175448
]
Jason Lai commented on MESOS-7990:
----------------------------------
I'm all for the systemd support. But it doesn't go that easily as
{{/systemd/mesos/<cid>}}, as Systemd has imposed some conventions on tasks'
cgroup names. There are some references
[here|https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/resource_management_guide/sec-default_cgroup_hierarchies].
AFAIK, rkt has aligned pretty well with the systemd conventions for their
containers. Would be worth looking at what they're doing
> Support systemd named hierarchy (name=systemd) for Mesos Containerizer.
> -----------------------------------------------------------------------
>
> Key: MESOS-7990
> URL: https://issues.apache.org/jira/browse/MESOS-7990
> Project: Mesos
> Issue Type: Improvement
> Components: containerization
> Reporter: Jie Yu
>
> Similar to docker's cgroupfs cgroup driver, we should create cgroups under
> /sys/fs/cgroup/systemd (if it exists), and move container pid into the
> corresponding cgroup ( /sys/fs/cgroup/systemd/mesos/<cid>).
> This can give us a bunch of benefits:
> 1) systemd-cgls can list mesos containers
> 2) systemd-cgtop can show stats for mesos containers
> ...
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)