mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jie Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-7990) Support systemd named hierarchy (name=systemd) for Mesos Containerizer.
Date Fri, 06 Oct 2017 21:58:00 GMT

    [ https://issues.apache.org/jira/browse/MESOS-7990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16195300#comment-16195300
] 

Jie Yu commented on MESOS-7990:
-------------------------------

Some sample output:
{noformat}
[jie@core-dev ~]$ systemd-cgls
|-1 /usr/lib/systemd/systemd --system --deserialize 20
|-mesos
|  |-8282b91a-5724-4964-a623-7c6bd68ff4ad
|  |-31737 /usr/libexec/mesos/mesos-containerizer launch
|  |-31739 mesos-default-executor --launcher_dir=/usr/libexec/mesos
|  |-mesos
|     |-8555f4af-fa4f-4c9c-aeb3-0c9f72e6a2de
|       |-31791 /usr/libexec/mesos/mesos-containerizer launch
|       |-31793 sleep 1000
{noformat}

> 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
>            Assignee: 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)

Mime
View raw message