James Peach created MESOS-9848:
----------------------------------

             Summary: Blkio cgroup statistis files missing in Linux 5.1
                 Key: MESOS-9848
                 URL: https://issues.apache.org/jira/browse/MESOS-9848
             Project: Mesos
          Issue Type: Improvement
          Components: containerization
            Reporter: James Peach


In recent Fedora release, the Linux blkio cgroup no longer publishes certain 
stats files that the Mesos isolator expects should exist.

In {{BlkioSubsystemProcess::usage}}, the isolator looks for
* {{blkio.time}}
* {{blkio.sectors}}
* {{blkio.io_merged}}
* {{blkio.io_queued}} 

Here's the actual cgroup:
{noformat}
$ uname -r
5.1.8-300.fc30.x86_64
...
[root@jpeach 184cf411-e73f-4c6e-bd54-8181222801af]# pwd
/sys/fs/cgroup/blkio/mesos_test_c83596ce-76ff-47c8-b23d-1276c16e93ae/184cf411-e73f-4c6e-bd54-8181222801af

[root@jpeach 184cf411-e73f-4c6e-bd54-8181222801af]# ls -l
total 0
-r--r--r-- 1 root root 0 Jun 16 18:07 blkio.bfq.io_service_bytes
-r--r--r-- 1 root root 0 Jun 16 18:07 blkio.bfq.io_service_bytes_recursive
-r--r--r-- 1 root root 0 Jun 16 18:07 blkio.bfq.io_serviced
-r--r--r-- 1 root root 0 Jun 16 18:07 blkio.bfq.io_serviced_recursive
-rw-r--r-- 1 root root 0 Jun 16 18:07 blkio.bfq.weight
--w------- 1 root root 0 Jun 16 18:07 blkio.reset_stats
-r--r--r-- 1 root root 0 Jun 16 18:07 blkio.throttle.io_service_bytes
-r--r--r-- 1 root root 0 Jun 16 18:07 blkio.throttle.io_service_bytes_recursive
-r--r--r-- 1 root root 0 Jun 16 18:07 blkio.throttle.io_serviced
-r--r--r-- 1 root root 0 Jun 16 18:07 blkio.throttle.io_serviced_recursive
-rw-r--r-- 1 root root 0 Jun 16 18:07 blkio.throttle.read_bps_device
-rw-r--r-- 1 root root 0 Jun 16 18:07 blkio.throttle.read_iops_device
-rw-r--r-- 1 root root 0 Jun 16 18:07 blkio.throttle.write_bps_device
-rw-r--r-- 1 root root 0 Jun 16 18:07 blkio.throttle.write_iops_device
-rw-r--r-- 1 root root 0 Jun 16 18:07 cgroup.clone_children
-rw-r--r-- 1 root root 0 Jun 16 18:06 cgroup.procs
-rw-r--r-- 1 root root 0 Jun 16 18:07 notify_on_release
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to