You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "冯健(硕塞)" <ji...@alibaba-inc.com> on 2016/03/22 10:20:23 UTC

how to enabling cgroups on RHEL7



In this doc(http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_yarn_resource_mgt/content/enabling_cgroups.html)  which point out On RHEL7 the cpu and cpuacct controllers are managed together by default,  To avoid this issue, I need create my own directory (such as /sys/fs/cgroup/hadoop/cpu) , but /sys/fs/cgroup/ is a readonly directory, I cant create directory , anyone has solution for this?

RE: 回复:how to enabling cgroups on RHEL7

Posted by sunww <sp...@outlook.com>.
if /sys/fs/cgroup  mounted as readonly, try to remount as rw  

> Date: Thu, 24 Mar 2016 12:51:40 +0800
> From: jian.feng@alibaba-inc.com
> To: dev@slider.incubator.apache.org
> Subject: 回复:how to enabling cgroups on RHEL7
> 
> this is redhat6,  redhat7 does not use libcgroup anymore
 		 	   		  

回复:how to enabling cgroups on RHEL7

Posted by "冯健(硕塞)" <ji...@alibaba-inc.com>.
this is redhat6,  redhat7 does not use libcgroup anymore

Re: how to enabling cgroups on RHEL7

Posted by Josh Elser <jo...@gmail.com>.
Try starting here:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Resource_Management_Guide/ch-Using_Control_Groups.html

冯健(硕塞) wrote:
>
>
> In this doc(http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_yarn_resource_mgt/content/enabling_cgroups.html)  which point out On RHEL7 the cpu and cpuacct controllers are managed together by default,  To avoid this issue, I need create my own directory (such as /sys/fs/cgroup/hadoop/cpu) , but /sys/fs/cgroup/ is a readonly directory, I cant create directory , anyone has solution for this?
>