You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Albert Strasheim (JIRA)" <ji...@apache.org> on 2014/12/24 18:30:13 UTC

[jira] [Commented] (MESOS-1837) failed to determine cgroup for the 'cpu' subsystem

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

Albert Strasheim commented on MESOS-1837:
-----------------------------------------

Also seeing this issue with mesos 0.21.0 + docker 1.4.1 + marathon 0.7.5 on Debian jessie with systemd.

Slave is running with

MESOS_isolation=cgroups/cpu,cgroups/mem
MESOS_cgroups_root=system.slice/mesos-slave.service
MESOS_cgroups_hierarchy=/sys/fs/cgroup

Any other info I can provide to debug this?

Trying to run the Mesosphere inky example, so I don't think it's a memory issue.

{code}
{
    "id": "inky", 
    "container": {
        "docker": {
            "image": "mesosphere/inky"
        },
        "type": "DOCKER",
        "volumes": []
    },
    "args": ["hello"],
    "cpus": 1.0,
    "mem": 8192.0,
    "instances": 1
}
{code}

> failed to determine cgroup for the 'cpu' subsystem
> --------------------------------------------------
>
>                 Key: MESOS-1837
>                 URL: https://issues.apache.org/jira/browse/MESOS-1837
>             Project: Mesos
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 0.20.1
>         Environment: Ubuntu 14.04
>            Reporter: Chris Fortier
>
> Attempting to launch Docker container with Marathon. Container is launched then fails. 
> A search of /var/log/syslog reveals:
> Sep 27 03:01:43 vagrant-ubuntu-trusty-64 mesos-slave[1409]: E0927 03:01:43.546957  1463 slave.cpp:2205] Failed to update resources for container 8c2429d9-f090-4443-8108-0206ca37f3fd of executor hello-world.970dbe74-45f2-11e4-8b1d-56847afe9799 running task hello-world.970dbe74-45f2-11e4-8b1d-56847afe9799 on status update for terminal task, destroying container: Failed to determine cgroup for the 'cpu' subsystem: Failed to read /proc/9792/cgroup: Failed to open file '/proc/9792/cgroup': No such file or directory



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)