* cgroup tasks file error
@ 2010-12-13 22:25 ccmail111
[not found] ` <149701.57773.qm-VjZBGxy5l2evuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
0 siblings, 1 reply; 19+ messages in thread
From: ccmail111 @ 2010-12-13 22:25 UTC (permalink / raw)
To: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
I see error:[host:/dev/cgroup]$ echo 693 > hello-test/tasks
-bash: echo: write error: No space left on device
[host:/dev/cgroup]$ pwd/dev/cgroup
But the user process is up and running..
[host:/dev/cgroup]$ ps aux | grep procroot
693 0.0 0.4 34720 1112 ttyS0 Sl 19:11 0:00 /opt/bin/myproc -ext
Also the cgroup exists and valid..
[host:/dev/cgroup]$ ls | grep hello-test
hello-test
What above error mean and any suggestions ?
Please email.
Thanks,
CM
^ permalink raw reply [flat|nested] 19+ messages in thread[parent not found: <149701.57773.qm-VjZBGxy5l2evuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>]
* Re: cgroup tasks file error [not found] ` <149701.57773.qm-VjZBGxy5l2evuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org> @ 2010-12-13 23:16 ` Serge E. Hallyn [not found] ` <20101213231628.GA8624-A9i7LUbDfNHQT0dZR+AlfA@public.gmane.org> 0 siblings, 1 reply; 19+ messages in thread From: Serge E. Hallyn @ 2010-12-13 23:16 UTC (permalink / raw) To: ccmail111; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA Quoting ccmail111 (ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org): > > I see error:[host:/dev/cgroup]$ echo 693 > hello-test/tasks > -bash: echo: write error: No space left on device > [host:/dev/cgroup]$ pwd/dev/cgroup > > But the user process is up and running.. > > [host:/dev/cgroup]$ ps aux | grep procroot > > 693 0.0 0.4 34720 1112 ttyS0 Sl 19:11 0:00 /opt/bin/myproc -ext > > Also the cgroup exists and valid.. > > [host:/dev/cgroup]$ ls | grep hello-test > hello-test > > What above error mean and any suggestions ? > Please email. Which cgroups do you have composed on that mount? I'm guess you have cpuset, and you need to set the cpuset.mems and cpuset.cpus. Until you do that, no tasks can be assigned to it. -serge ^ permalink raw reply [flat|nested] 19+ messages in thread
[parent not found: <20101213231628.GA8624-A9i7LUbDfNHQT0dZR+AlfA@public.gmane.org>]
* Re: cgroup tasks file error [not found] ` <20101213231628.GA8624-A9i7LUbDfNHQT0dZR+AlfA@public.gmane.org> @ 2010-12-14 1:02 ` Matt Helsley [not found] ` <20101214010243.GC26523-52DBMbEzqgQ/wnmkkaCWp/UQ3DHhIser@public.gmane.org> 2010-12-14 1:23 ` ccmail111 1 sibling, 1 reply; 19+ messages in thread From: Matt Helsley @ 2010-12-14 1:02 UTC (permalink / raw) To: Serge E. Hallyn Cc: ccmail111, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA On Mon, Dec 13, 2010 at 05:16:28PM -0600, Serge E. Hallyn wrote: > Quoting ccmail111 (ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org): > > > > I see error:[host:/dev/cgroup]$ echo 693 > hello-test/tasks > > -bash: echo: write error: No space left on device This does seem quite odd so I spent a little time looking at this and I agree with Serge. > > [host:/dev/cgroup]$ pwd/dev/cgroup > > > > But the user process is up and running.. > > > > [host:/dev/cgroup]$ ps aux | grep procroot > > > > 693 0.0 0.4 34720 1112 ttyS0 Sl 19:11 0:00 /opt/bin/myproc -ext > > > > Also the cgroup exists and valid.. > > > > [host:/dev/cgroup]$ ls | grep hello-test > > hello-test > > > > What above error mean and any suggestions ? > > Please email. > > Which cgroups do you have composed on that mount? I'm guess you > have cpuset, and you need to set the cpuset.mems and cpuset.cpus. > Until you do that, no tasks can be assigned to it. I looked a a few places in kernel/cgroup.c which return ENOSPC or could potentially forward such an error. The only place that fits is in the attach path and is consistent with the notion that it's a cpuset issue: echo <pid> > tasks => cgroup_tasks_write() => attach_task_by_pid() => cgroup_attach_task() => (via ss->can_attach() where ss is the cpuset subsystem) cpuset_can_attach(): if (cpumask_empty(cs->cpus_allowed) || nodes_empty(cs->mems_allowed)) return -ENOSPC; No other cgroup subsystem that I looked at (freezer, memcontrol, ns, blkio, devcgroup) returns ENOSPC when attaching a task. So not only do you need to set those masks but each mask must have at least one cpu and "mem" respectively. Cheers, -Matt Helsley ^ permalink raw reply [flat|nested] 19+ messages in thread
[parent not found: <20101214010243.GC26523-52DBMbEzqgQ/wnmkkaCWp/UQ3DHhIser@public.gmane.org>]
* Re: cgroup tasks file error [not found] ` <20101214010243.GC26523-52DBMbEzqgQ/wnmkkaCWp/UQ3DHhIser@public.gmane.org> @ 2010-12-14 7:28 ` ccmail111 [not found] ` <464217.68381.qm-VjZBGxy5l2evuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org> 0 siblings, 1 reply; 19+ messages in thread From: ccmail111 @ 2010-12-14 7:28 UTC (permalink / raw) To: Serge E. Hallyn, Matt Helsley Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA Thanks Matt. After doing what Serge suggests, I was able to create a dummy cgroup and move task (#580) below to the group. But now.. I see another issue: cannot move the task back to its parent (root), from the group (hello) as in: I am trying to move back task #580.. [host:/dev/cgroup]$ id uid=0(root) gid=0(root) groups=0(root) [host:/dev/cgroup]$ echo 580 > tasks -bash: echo: write error: Operation not permitted [host:/dev/cgroup]$ cat hello/tasks 580 610 2104 [host:/dev/cgroup]$ --- On Mon, 12/13/10, Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> wrote: > From: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> > Subject: Re: cgroup tasks file error > To: "Serge E. Hallyn" <serge.hallyn-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org> > Cc: "ccmail111" <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>, containers-cunTk1MwBs9QetFLy7KEmxxBWXNxL4zz@public.gmane.orgorg > Date: Monday, December 13, 2010, 8:02 PM > On Mon, Dec 13, 2010 at 05:16:28PM > -0600, Serge E. Hallyn wrote: > > Quoting ccmail111 (ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org): > > > > > > I see error:[host:/dev/cgroup]$ echo 693 > > hello-test/tasks > > > -bash: echo: write error: No space left on > device > > This does seem quite odd so I spent a little time looking > at this and I agree with Serge. > > > > [host:/dev/cgroup]$ pwd/dev/cgroup > > > > > > But the user process is up and running.. > > > > > > [host:/dev/cgroup]$ ps aux | grep procroot > > > > > > > 693 0.0 0.4 34720 1112 ttyS0 Sl > 19:11 0:00 /opt/bin/myproc -ext > > > > > > Also the cgroup exists and valid.. > > > > > > [host:/dev/cgroup]$ ls | grep hello-test > > > hello-test > > > > > > What above error mean and any suggestions ? > > > Please email. > > > > Which cgroups do you have composed on that > mount? I'm guess you > > have cpuset, and you need to set the cpuset.mems and > cpuset.cpus. > > Until you do that, no tasks can be assigned to it. > > I looked a a few places in kernel/cgroup.c which return > ENOSPC > or could potentially forward such an error. The only place > that > fits is in the attach path and is consistent with the > notion that > it's a cpuset issue: > > echo <pid> > tasks => > cgroup_tasks_write() => > attach_task_by_pid() => > cgroup_attach_task() => (via ss->can_attach() where > ss is the cpuset subsystem) > cpuset_can_attach(): > if > (cpumask_empty(cs->cpus_allowed) || > nodes_empty(cs->mems_allowed)) > > return -ENOSPC; > > No other cgroup subsystem that I looked at (freezer, > memcontrol, ns, > blkio, devcgroup) returns ENOSPC when > attaching a task. > > So not only do you need to set those masks but each mask > must have at > least one cpu and "mem" respectively. > > Cheers, > -Matt Helsley > ^ permalink raw reply [flat|nested] 19+ messages in thread
[parent not found: <464217.68381.qm-VjZBGxy5l2evuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>]
* Re: cgroup tasks file error [not found] ` <464217.68381.qm-VjZBGxy5l2evuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org> @ 2010-12-14 9:39 ` Jue Hong [not found] ` <AANLkTi=tpq0Jo9WAd5eu=fP2bLaSG6iLpHtAVR1xe=Ub-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 19+ messages in thread From: Jue Hong @ 2010-12-14 9:39 UTC (permalink / raw) To: ccmail111; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA Have you mounted the ns subsys? The ns subsys will place some restrictions on the task movement. On Tue, Dec 14, 2010 at 3:28 PM, ccmail111 <ccmail111@yahoo.com> wrote: > > Thanks Matt. > After doing what Serge suggests, I was able to create a dummy cgroup and > move task (#580) below to the group. But now.. > I see another issue: cannot move the task back to its parent (root), from the group (hello) as in: > > I am trying to move back task #580.. > > [host:/dev/cgroup]$ id > uid=0(root) gid=0(root) groups=0(root) > > > [host:/dev/cgroup]$ echo 580 > tasks > -bash: echo: write error: Operation not permitted > > [host:/dev/cgroup]$ cat hello/tasks > 580 > 610 > 2104 > [host:/dev/cgroup]$ > > > --- On Mon, 12/13/10, Matt Helsley <matthltc@us.ibm.com> wrote: > >> From: Matt Helsley <matthltc@us.ibm.com> >> Subject: Re: cgroup tasks file error >> To: "Serge E. Hallyn" <serge.hallyn@canonical.com> >> Cc: "ccmail111" <ccmail111@yahoo.com>, containers@lists.linux-foundation.org >> Date: Monday, December 13, 2010, 8:02 PM >> On Mon, Dec 13, 2010 at 05:16:28PM >> -0600, Serge E. Hallyn wrote: >> > Quoting ccmail111 (ccmail111@yahoo.com): >> > > >> > > I see error:[host:/dev/cgroup]$ echo 693 > >> hello-test/tasks >> > > -bash: echo: write error: No space left on >> device >> >> This does seem quite odd so I spent a little time looking >> at this and I agree with Serge. >> >> > > [host:/dev/cgroup]$ pwd/dev/cgroup >> > > >> > > But the user process is up and running.. >> > > >> > > [host:/dev/cgroup]$ ps aux | grep procroot >> >> > > >> > > 693 0.0 0.4 34720 1112 ttyS0 Sl >> 19:11 0:00 /opt/bin/myproc -ext >> > > >> > > Also the cgroup exists and valid.. >> > > >> > > [host:/dev/cgroup]$ ls | grep hello-test >> > > hello-test >> > > >> > > What above error mean and any suggestions ? >> > > Please email. >> > >> > Which cgroups do you have composed on that >> mount? I'm guess you >> > have cpuset, and you need to set the cpuset.mems and >> cpuset.cpus. >> > Until you do that, no tasks can be assigned to it. >> >> I looked a a few places in kernel/cgroup.c which return >> ENOSPC >> or could potentially forward such an error. The only place >> that >> fits is in the attach path and is consistent with the >> notion that >> it's a cpuset issue: >> >> echo <pid> > tasks => >> cgroup_tasks_write() => >> attach_task_by_pid() => >> cgroup_attach_task() => (via ss->can_attach() where >> ss is the cpuset subsystem) >> cpuset_can_attach(): >> if >> (cpumask_empty(cs->cpus_allowed) || >> nodes_empty(cs->mems_allowed)) >> >> return -ENOSPC; >> >> No other cgroup subsystem that I looked at (freezer, >> memcontrol, ns, >> blkio, devcgroup) returns ENOSPC when >> attaching a task. >> >> So not only do you need to set those masks but each mask >> must have at >> least one cpu and "mem" respectively. >> >> Cheers, >> -Matt Helsley >> > > > > _______________________________________________ > Containers mailing list > Containers@lists.linux-foundation.org > https://lists.linux-foundation.org/mailman/listinfo/containers > -- Jue Hong (洪爵) Department of Network Infrastructure Tencent Company, Shenzhen, China _______________________________________________ Containers mailing list Containers@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/containers ^ permalink raw reply [flat|nested] 19+ messages in thread
[parent not found: <AANLkTi=tpq0Jo9WAd5eu=fP2bLaSG6iLpHtAVR1xe=Ub-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: cgroup tasks file error [not found] ` <AANLkTi=tpq0Jo9WAd5eu=fP2bLaSG6iLpHtAVR1xe=Ub-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2010-12-14 17:33 ` ccmail111 [not found] ` <166364.22607.qm-VjZBGxy5l2evuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org> 0 siblings, 1 reply; 19+ messages in thread From: ccmail111 @ 2010-12-14 17:33 UTC (permalink / raw) To: Jue Hong; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA Isn't ns mounted by default ? I rebooted machine, based on 2.6.32 kernel. Then, [host:~]$ mkdir /dev/cgroup [host:~]$ mount -t cgroup cpuset -ocpuset,ns /dev/cgroup [host:~]$ ps aux | grep libvirt root 575 0.6 0.9 88816 2216 ? Sl 17:28 0:00 myproc --daemon root 654 0.0 0.2 4044 664 ttyS0 S+ 17:29 0:00 grep libvirt [host:~]$ mkdir /dev/cgroup/hello [host:~]$ cat /dev/cgroup/hello/tasks [host:~]$ echo 0 > /dev/cgroup/hello/cpuset.cpus [host:~]$ echo 0 > /dev/cgroup/hello/cpuset.mems [host:~]$ echo 575 > /dev/cgroup/hello/tasks [host:~]$ cat /dev/cgroup/hello/tasks 575 [host:~]$ id uid=0(root) gid=0(root) groups=0(root) [host:~]$ Now, I try to move the task out - the parent/root: [host:~]$ echo 575 > /dev/cgroup/tasks -bash: echo: write error: Operation not permitted Any thoughts !? --- On Tue, 12/14/10, Jue Hong <honshj@gmail.com> wrote: > From: Jue Hong <honshj@gmail.com> > Subject: Re: cgroup tasks file error > To: "ccmail111" <ccmail111@yahoo.com> > Cc: "Serge E. Hallyn" <serge.hallyn@canonical.com>, "Matt Helsley" <matthltc@us.ibm.com>, containers@lists.linux-foundation.org > Date: Tuesday, December 14, 2010, 4:39 AM > Have you mounted the ns subsys? > The ns subsys will place some restrictions on the task > movement. > > On Tue, Dec 14, 2010 at 3:28 PM, ccmail111 <ccmail111@yahoo.com> > wrote: > > > > Thanks Matt. > > After doing what Serge suggests, I was able to create > a dummy cgroup and > > move task (#580) below to the group. But now.. > > I see another issue: cannot move the task back to its > parent (root), from the group (hello) as in: > > > > I am trying to move back task #580.. > > > > [host:/dev/cgroup]$ id > > uid=0(root) gid=0(root) groups=0(root) > > > > > > [host:/dev/cgroup]$ echo 580 > tasks > > -bash: echo: write error: Operation not permitted > > > > [host:/dev/cgroup]$ cat hello/tasks > > 580 > > 610 > > 2104 > > [host:/dev/cgroup]$ > > > > > > --- On Mon, 12/13/10, Matt Helsley <matthltc@us.ibm.com> > wrote: > > > >> From: Matt Helsley <matthltc@us.ibm.com> > >> Subject: Re: cgroup tasks file error > >> To: "Serge E. Hallyn" <serge.hallyn@canonical.com> > >> Cc: "ccmail111" <ccmail111@yahoo.com>, > containers@lists.linux-foundation.org > >> Date: Monday, December 13, 2010, 8:02 PM > >> On Mon, Dec 13, 2010 at 05:16:28PM > >> -0600, Serge E. Hallyn wrote: > >> > Quoting ccmail111 (ccmail111@yahoo.com): > >> > > > >> > > I see error:[host:/dev/cgroup]$ echo 693 > > > >> hello-test/tasks > >> > > -bash: echo: write error: No space left > on > >> device > >> > >> This does seem quite odd so I spent a little time > looking > >> at this and I agree with Serge. > >> > >> > > [host:/dev/cgroup]$ pwd/dev/cgroup > >> > > > >> > > But the user process is up and > running.. > >> > > > >> > > [host:/dev/cgroup]$ ps aux | grep > procroot > >> > >> > > > >> > > 693 0.0 0.4 34720 1112 ttyS0 > Sl > >> 19:11 0:00 /opt/bin/myproc -ext > >> > > > >> > > Also the cgroup exists and valid.. > >> > > > >> > > [host:/dev/cgroup]$ ls | grep > hello-test > >> > > hello-test > >> > > > >> > > What above error mean and any > suggestions ? > >> > > Please email. > >> > > >> > Which cgroups do you have composed on that > >> mount? I'm guess you > >> > have cpuset, and you need to set the > cpuset.mems and > >> cpuset.cpus. > >> > Until you do that, no tasks can be assigned > to it. > >> > >> I looked a a few places in kernel/cgroup.c which > return > >> ENOSPC > >> or could potentially forward such an error. The > only place > >> that > >> fits is in the attach path and is consistent with > the > >> notion that > >> it's a cpuset issue: > >> > >> echo <pid> > tasks => > >> cgroup_tasks_write() => > >> attach_task_by_pid() => > >> cgroup_attach_task() => (via > ss->can_attach() where > >> ss is the cpuset subsystem) > >> cpuset_can_attach(): > >> if > >> (cpumask_empty(cs->cpus_allowed) || > >> nodes_empty(cs->mems_allowed)) > >> > >> return -ENOSPC; > >> > >> No other cgroup subsystem that I looked at > (freezer, > >> memcontrol, ns, > >> blkio, devcgroup) returns ENOSPC when > >> attaching a task. > >> > >> So not only do you need to set those masks but > each mask > >> must have at > >> least one cpu and "mem" respectively. > >> > >> Cheers, > >> -Matt Helsley > >> > > > > > > > > _______________________________________________ > > Containers mailing list > > Containers@lists.linux-foundation.org > > https://lists.linux-foundation.org/mailman/listinfo/containers > > > > > > -- > Jue Hong (洪爵) > Department of Network Infrastructure > Tencent Company, Shenzhen, China > _______________________________________________ Containers mailing list Containers@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/containers ^ permalink raw reply [flat|nested] 19+ messages in thread
[parent not found: <166364.22607.qm-VjZBGxy5l2evuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>]
* Re: cgroup tasks file error [not found] ` <166364.22607.qm-VjZBGxy5l2evuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org> @ 2010-12-14 17:40 ` Serge Hallyn 2010-12-14 19:23 ` ccmail111 2010-12-14 17:41 ` Balbir Singh 1 sibling, 1 reply; 19+ messages in thread From: Serge Hallyn @ 2010-12-14 17:40 UTC (permalink / raw) To: ccmail111; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA Quoting ccmail111 (ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org): > > Isn't ns mounted by default ? I thought that in an earlier email you said you had done mount -t cgroup cpuset -ocpuset /dev/cgroup in which case ns would not be mounted. But note, we DO NOT want you to have ns mounted :) > I rebooted machine, > based on 2.6.32 kernel. > > Then, > > [host:~]$ mkdir /dev/cgroup > [host:~]$ mount -t cgroup cpuset -ocpuset,ns /dev/cgroup > [host:~]$ ps aux | grep libvirt > root 575 0.6 0.9 88816 2216 ? Sl 17:28 0:00 myproc --daemon > root 654 0.0 0.2 4044 664 ttyS0 S+ 17:29 0:00 grep libvirt > [host:~]$ mkdir /dev/cgroup/hello > [host:~]$ cat /dev/cgroup/hello/tasks > [host:~]$ echo 0 > /dev/cgroup/hello/cpuset.cpus > [host:~]$ echo 0 > /dev/cgroup/hello/cpuset.mems > [host:~]$ echo 575 > /dev/cgroup/hello/tasks > [host:~]$ cat /dev/cgroup/hello/tasks > 575 > [host:~]$ id > uid=0(root) gid=0(root) groups=0(root) > [host:~]$ > > Now, I try to move the task out - the parent/root: > > [host:~]$ echo 575 > /dev/cgroup/tasks > -bash: echo: write error: Operation not permitted > > > Any thoughts !? Yes, ns cgroup is forbidding you from moving back :) Mount without it. -serge ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: cgroup tasks file error 2010-12-14 17:40 ` Serge Hallyn @ 2010-12-14 19:23 ` ccmail111 0 siblings, 0 replies; 19+ messages in thread From: ccmail111 @ 2010-12-14 19:23 UTC (permalink / raw) To: Serge Hallyn; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA Hi Serge, Thanks for the tip. It seems to work (no ns). [host:~]$ mount -t cgroup cpuset -ocpuset /dev/cgroup [host:~]$ ls /dev/cgroup cgroup.procs cpuset.memory_spread_page cpuset.cpu_exclusive cpuset.memory_spread_slab cpuset.cpus cpuset.mems cpuset.mem_exclusive cpuset.sched_load_balance cpuset.mem_hardwall cpuset.sched_relax_domain_level cpuset.memory_migrate notify_on_release cpuset.memory_pressure release_agent cpuset.memory_pressure_enabled tasks $ps aux | grep daemon root 572 0.0 0.9 88816 2216 ? Sl 18:25 0:00 myproc --daemon [host:~]$ mkdir /dev/cgroup/hello [host:~]$ echo 0 > /dev/cgroup/hello/cpuset.mems [host:~]$ echo 0 > /dev/cgroup/hello/cpuset.cpus [host:~]$ echo 572 > /dev/cgroup/hello/tasks [host:~]$ cat /dev/cgroup/hello/tasks 572 Now move it back.. [host:~]$ echo 572 > /dev/cgroup/tasks check: [host:~]$ cat /dev/cgroup/hello/tasks [host:~]$ [host:~]$ cat /dev/cgroup/tasks | grep 572 572 [host:~]$ id uid=0(root) gid=0(root) groups=0(root) [host:~]$ Thanks everyone ! --- On Tue, 12/14/10, Serge Hallyn <serge.hallyn-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org> wrote: > From: Serge Hallyn <serge.hallyn-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org> > Subject: Re: cgroup tasks file error > To: "ccmail111" <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> > Cc: "Jue Hong" <honshj-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>, "Matt Helsley" <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org > Date: Tuesday, December 14, 2010, 12:40 PM > Quoting ccmail111 (ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org): > > > > Isn't ns mounted by default ? > > I thought that in an earlier email you said you had done > > mount -t cgroup cpuset -ocpuset > /dev/cgroup > > in which case ns would not be mounted. But note, we > DO NOT > want you to have ns mounted :) > > > I rebooted machine, > > based on 2.6.32 kernel. > > > > Then, > > > > [host:~]$ mkdir /dev/cgroup > > [host:~]$ mount -t cgroup cpuset -ocpuset,ns > /dev/cgroup > > [host:~]$ ps aux | grep libvirt > > root 575 > 0.6 0.9 88816 2216 ? > Sl 17:28 0:00 > myproc --daemon > > root 654 > 0.0 0.2 4044 664 > ttyS0 > S+ 17:29 0:00 grep > libvirt > > [host:~]$ mkdir /dev/cgroup/hello > > [host:~]$ cat /dev/cgroup/hello/tasks > > [host:~]$ echo 0 > /dev/cgroup/hello/cpuset.cpus > > [host:~]$ echo 0 > /dev/cgroup/hello/cpuset.mems > > [host:~]$ echo 575 > /dev/cgroup/hello/tasks > > [host:~]$ cat /dev/cgroup/hello/tasks > > 575 > > [host:~]$ id > > uid=0(root) gid=0(root) groups=0(root) > > [host:~]$ > > > > Now, I try to move the task out - the parent/root: > > > > [host:~]$ echo 575 > /dev/cgroup/tasks > > -bash: echo: write error: Operation not permitted > > > > > > Any thoughts !? > > Yes, ns cgroup is forbidding you from moving back :) > Mount without it. > > -serge > ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: cgroup tasks file error [not found] ` <166364.22607.qm-VjZBGxy5l2evuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org> 2010-12-14 17:40 ` Serge Hallyn @ 2010-12-14 17:41 ` Balbir Singh [not found] ` <AANLkTi=gR2JVXf0uidRMZo7s88th1wu-4+AbC0ZwRUJk-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 1 sibling, 1 reply; 19+ messages in thread From: Balbir Singh @ 2010-12-14 17:41 UTC (permalink / raw) To: ccmail111; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA On Tue, Dec 14, 2010 at 11:03 PM, ccmail111 <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote: > > Isn't ns mounted by default ? > I rebooted machine, > based on 2.6.32 kernel. > > Then, > > [host:~]$ mkdir /dev/cgroup > [host:~]$ mount -t cgroup cpuset -ocpuset,ns /dev/cgroup > [host:~]$ ps aux | grep libvirt > root 575 0.6 0.9 88816 2216 ? Sl 17:28 0:00 myproc --daemon > root 654 0.0 0.2 4044 664 ttyS0 S+ 17:29 0:00 grep libvirt > [host:~]$ mkdir /dev/cgroup/hello > [host:~]$ cat /dev/cgroup/hello/tasks > [host:~]$ echo 0 > /dev/cgroup/hello/cpuset.cpus > [host:~]$ echo 0 > /dev/cgroup/hello/cpuset.mems Can you paste the output of cat /dev/cgroup/hello/cpuset.cpus and mems. Also please paste the o/p of /dev/cgroup/cpuset.cpus and mems > [host:~]$ echo 575 > /dev/cgroup/hello/tasks > [host:~]$ cat /dev/cgroup/hello/tasks > 575 > [host:~]$ id > uid=0(root) gid=0(root) groups=0(root) > [host:~]$ > > Now, I try to move the task out - the parent/root: > > [host:~]$ echo 575 > /dev/cgroup/tasks > -bash: echo: write error: Operation not permitted can you send us the o/p of ls -al /dev/cgroup and ls -al /dev/cgroup/hello Balbir ^ permalink raw reply [flat|nested] 19+ messages in thread
[parent not found: <AANLkTi=gR2JVXf0uidRMZo7s88th1wu-4+AbC0ZwRUJk-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: cgroup tasks file error [not found] ` <AANLkTi=gR2JVXf0uidRMZo7s88th1wu-4+AbC0ZwRUJk-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2010-12-14 18:22 ` ccmail111 [not found] ` <478906.58374.qm-NvXQCeNhX6ivuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org> 0 siblings, 1 reply; 19+ messages in thread From: ccmail111 @ 2010-12-14 18:22 UTC (permalink / raw) To: Balbir Singh; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA --- On Tue, 12/14/10, Balbir Singh <balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> wrote: > From: Balbir Singh <balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> > Subject: Re: cgroup tasks file error > To: "ccmail111" <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> > Cc: "Jue Hong" <honshj-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org > Date: Tuesday, December 14, 2010, 12:41 PM > On Tue, Dec 14, 2010 at 11:03 PM, > ccmail111 <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> > wrote: > > > > Isn't ns mounted by default ? > > I rebooted machine, > > based on 2.6.32 kernel. > > > > Then, > > > > [host:~]$ mkdir /dev/cgroup > > [host:~]$ mount -t cgroup cpuset -ocpuset,ns > /dev/cgroup > > [host:~]$ ps aux | grep libvirt > > root 575 0.6 0.9 88816 2216 ? > Sl 17:28 0:00 myproc --daemon > > root 654 0.0 0.2 4044 664 ttyS0 > S+ 17:29 0:00 grep libvirt > > [host:~]$ mkdir /dev/cgroup/hello > > [host:~]$ cat /dev/cgroup/hello/tasks > > [host:~]$ echo 0 > /dev/cgroup/hello/cpuset.cpus > > [host:~]$ echo 0 > /dev/cgroup/hello/cpuset.mems > > Can you paste the output of > > cat /dev/cgroup/hello/cpuset.cpus and mems. > > Also please paste the o/p of /dev/cgroup/cpuset.cpus and > mems > > > [host:~]$ echo 575 > /dev/cgroup/hello/tasks > > [host:~]$ cat /dev/cgroup/hello/tasks > > 575 > > [host:~]$ id > > uid=0(root) gid=0(root) groups=0(root) > > [host:~]$ > > > > Now, I try to move the task out - the parent/root: > > > > [host:~]$ echo 575 > /dev/cgroup/tasks > > -bash: echo: write error: Operation not permitted > > can you send us the o/p of > > ls -al /dev/cgroup > > and ls -al /dev/cgroup/hello > > Balbir > ---- Please find output requested below: [host:~]$ mkdir /dev/cgroup/hello [host:~]$ cat /dev/cgroup/hello/tasks [host:~]$ echo 0 > /dev/cgroup/hello/cpuset.cpus [host:~]$ echo 0 > /dev/cgroup/hello/cpuset.mems [host:~]$ echo 575 > /dev/cgroup/hello/tasks [host:~]$ cat /dev/cgroup/hello/tasks 575 [host:~]$ id uid=0(root) gid=0(root) groups=0(root) [host:~]$ echo 575 > /dev/cgroup/tasks -bash: echo: write error: Operation not permitted [host:~]$ cat /dev/cgroup/hello/cpuset.cpus 0 [host:~]$ cat /dev/cgroup/hello/cpuset.mems 0 [host:~]$ cat /dev/cgroup/cpuset.mems 0 [host:~]$ cat /dev/cgroup/cpuset.cpus 0 [host:~]$ ls -al /dev/cgroup/ total 0 drwxr-xr-x 3 root root 0 Dec 14 17:29 . drwxr-xr-x 11 root root 2980 Dec 14 17:29 .. -r--r--r-- 1 root root 0 Dec 14 17:29 cgroup.procs -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.cpu_exclusive -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.cpus -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.mem_exclusive -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.mem_hardwall -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.memory_migrate -r--r--r-- 1 root root 0 Dec 14 17:29 cpuset.memory_pressure -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.memory_pressure_enabled -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.memory_spread_page -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.memory_spread_slab -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.mems -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.sched_load_balance -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.sched_relax_domain_level drwxr-xr-x 2 root root 0 Dec 14 17:29 hello -rw-r--r-- 1 root root 0 Dec 14 17:29 notify_on_release -rw-r--r-- 1 root root 0 Dec 14 17:29 release_agent -rw-r--r-- 1 root root 0 Dec 14 17:31 tasks [host:~]$ ls -al /dev/cgroup/hello/ total 0 drwxr-xr-x 2 root root 0 Dec 14 17:29 . drwxr-xr-x 3 root root 0 Dec 14 17:29 .. -r--r--r-- 1 root root 0 Dec 14 17:29 cgroup.procs -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.cpu_exclusive -rw-r--r-- 1 root root 0 Dec 14 17:30 cpuset.cpus -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.mem_exclusive -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.mem_hardwall -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.memory_migrate -r--r--r-- 1 root root 0 Dec 14 17:29 cpuset.memory_pressure -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.memory_spread_page -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.memory_spread_slab -rw-r--r-- 1 root root 0 Dec 14 17:30 cpuset.mems -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.sched_load_balance -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.sched_relax_domain_level -rw-r--r-- 1 root root 0 Dec 14 17:29 notify_on_release -rw-r--r-- 1 root root 0 Dec 14 17:30 tasks [host:~]$ id uid=0(root) gid=0(root) groups=0(root) [host:~]$ ^ permalink raw reply [flat|nested] 19+ messages in thread
[parent not found: <478906.58374.qm-NvXQCeNhX6ivuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>]
* Re: cgroup tasks file error [not found] ` <478906.58374.qm-NvXQCeNhX6ivuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org> @ 2010-12-15 17:51 ` Balbir Singh [not found] ` <20101215175158.GB9587-SINUvgVNF2CyUtPGxGje5AC/G2K4zDHf@public.gmane.org> 0 siblings, 1 reply; 19+ messages in thread From: Balbir Singh @ 2010-12-15 17:51 UTC (permalink / raw) To: ccmail111; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA * ccmail111 <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> [2010-12-14 10:22:32]: > > > --- On Tue, 12/14/10, Balbir Singh <balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> wrote: > > > From: Balbir Singh <balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> > > Subject: Re: cgroup tasks file error > > To: "ccmail111" <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> > > Cc: "Jue Hong" <honshj-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org > > Date: Tuesday, December 14, 2010, 12:41 PM > > On Tue, Dec 14, 2010 at 11:03 PM, > > ccmail111 <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> > > wrote: > > > > > > Isn't ns mounted by default ? > > > I rebooted machine, > > > based on 2.6.32 kernel. > > > > > > Then, > > > > > > [host:~]$ mkdir /dev/cgroup > > > [host:~]$ mount -t cgroup cpuset -ocpuset,ns > > /dev/cgroup > > > [host:~]$ ps aux | grep libvirt > > > root 575 0.6 0.9 88816 2216 ? > > Sl 17:28 0:00 myproc --daemon > > > root 654 0.0 0.2 4044 664 ttyS0 > > S+ 17:29 0:00 grep libvirt > > > [host:~]$ mkdir /dev/cgroup/hello > > > [host:~]$ cat /dev/cgroup/hello/tasks > > > [host:~]$ echo 0 > /dev/cgroup/hello/cpuset.cpus > > > [host:~]$ echo 0 > /dev/cgroup/hello/cpuset.mems > > > > Can you paste the output of > > > > cat /dev/cgroup/hello/cpuset.cpus and mems. > > > > Also please paste the o/p of /dev/cgroup/cpuset.cpus and > > mems > > > > > [host:~]$ echo 575 > /dev/cgroup/hello/tasks > > > [host:~]$ cat /dev/cgroup/hello/tasks > > > 575 > > > [host:~]$ id > > > uid=0(root) gid=0(root) groups=0(root) > > > [host:~]$ > > > > > > Now, I try to move the task out - the parent/root: > > > > > > [host:~]$ echo 575 > /dev/cgroup/tasks > > > -bash: echo: write error: Operation not permitted > > > > can you send us the o/p of > > > > ls -al /dev/cgroup > > > > and ls -al /dev/cgroup/hello > > > > Balbir > > > ---- > > Please find output requested below: > > > [host:~]$ mkdir /dev/cgroup/hello > [host:~]$ cat /dev/cgroup/hello/tasks > [host:~]$ echo 0 > /dev/cgroup/hello/cpuset.cpus > [host:~]$ echo 0 > /dev/cgroup/hello/cpuset.mems > [host:~]$ echo 575 > /dev/cgroup/hello/tasks > [host:~]$ cat /dev/cgroup/hello/tasks > 575 > [host:~]$ id > uid=0(root) gid=0(root) groups=0(root) > [host:~]$ echo 575 > /dev/cgroup/tasks > -bash: echo: write error: Operation not permitted > [host:~]$ cat /dev/cgroup/hello/cpuset.cpus > 0 > [host:~]$ cat /dev/cgroup/hello/cpuset.mems > 0 > [host:~]$ cat /dev/cgroup/cpuset.mems > 0 > [host:~]$ cat /dev/cgroup/cpuset.cpus > 0 > [host:~]$ ls -al /dev/cgroup/ > total 0 > drwxr-xr-x 3 root root 0 Dec 14 17:29 . > drwxr-xr-x 11 root root 2980 Dec 14 17:29 .. > -r--r--r-- 1 root root 0 Dec 14 17:29 cgroup.procs > -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.cpu_exclusive > -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.cpus > -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.mem_exclusive > -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.mem_hardwall > -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.memory_migrate > -r--r--r-- 1 root root 0 Dec 14 17:29 cpuset.memory_pressure > -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.memory_pressure_enabled > -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.memory_spread_page > -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.memory_spread_slab > -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.mems > -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.sched_load_balance > -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.sched_relax_domain_level > drwxr-xr-x 2 root root 0 Dec 14 17:29 hello > -rw-r--r-- 1 root root 0 Dec 14 17:29 notify_on_release > -rw-r--r-- 1 root root 0 Dec 14 17:29 release_agent > -rw-r--r-- 1 root root 0 Dec 14 17:31 tasks > [host:~]$ ls -al /dev/cgroup/hello/ > total 0 > drwxr-xr-x 2 root root 0 Dec 14 17:29 . > drwxr-xr-x 3 root root 0 Dec 14 17:29 .. > -r--r--r-- 1 root root 0 Dec 14 17:29 cgroup.procs > -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.cpu_exclusive > -rw-r--r-- 1 root root 0 Dec 14 17:30 cpuset.cpus > -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.mem_exclusive > -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.mem_hardwall > -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.memory_migrate > -r--r--r-- 1 root root 0 Dec 14 17:29 cpuset.memory_pressure > -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.memory_spread_page > -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.memory_spread_slab > -rw-r--r-- 1 root root 0 Dec 14 17:30 cpuset.mems > -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.sched_load_balance > -rw-r--r-- 1 root root 0 Dec 14 17:29 cpuset.sched_relax_domain_level > -rw-r--r-- 1 root root 0 Dec 14 17:29 notify_on_release > -rw-r--r-- 1 root root 0 Dec 14 17:30 tasks > [host:~]$ id > uid=0(root) gid=0(root) groups=0(root) > [host:~]$ > Looks like Serge's ns suggestion solved your problem, right? -- Three Cheers, Balbir ^ permalink raw reply [flat|nested] 19+ messages in thread
[parent not found: <20101215175158.GB9587-SINUvgVNF2CyUtPGxGje5AC/G2K4zDHf@public.gmane.org>]
* Re: cgroup tasks file error [not found] ` <20101215175158.GB9587-SINUvgVNF2CyUtPGxGje5AC/G2K4zDHf@public.gmane.org> @ 2010-12-15 22:08 ` ccmail111 0 siblings, 0 replies; 19+ messages in thread From: ccmail111 @ 2010-12-15 22:08 UTC (permalink / raw) To: balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8 Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA --- On Wed, 12/15/10, Balbir Singh <balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> wrote: > From: Balbir Singh <balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> > Subject: Re: cgroup tasks file error > To: "ccmail111" <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> > Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org > Date: Wednesday, December 15, 2010, 12:51 PM > * ccmail111 <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> > [2010-12-14 10:22:32]: > > > > > > > --- On Tue, 12/14/10, Balbir Singh <balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> > wrote: > > > > > From: Balbir Singh <balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> > > > Subject: Re: cgroup tasks file error > > > To: "ccmail111" <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> > > > Cc: "Jue Hong" <honshj-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>, > containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org > > > Date: Tuesday, December 14, 2010, 12:41 PM > > > On Tue, Dec 14, 2010 at 11:03 PM, > > > ccmail111 <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> > > > wrote: > > > > > > > > Isn't ns mounted by default ? > > > > I rebooted machine, > > > > based on 2.6.32 kernel. > > > > > > > > Then, > > > > > > > > [host:~]$ mkdir /dev/cgroup > > > > [host:~]$ mount -t cgroup cpuset > -ocpuset,ns > > > /dev/cgroup > > > > [host:~]$ ps aux | grep libvirt > > > > root 575 0.6 0.9 88816 2216 > ? > > > Sl 17:28 0:00 myproc --daemon > > > > root 654 0.0 0.2 4044 664 > ttyS0 > > > S+ 17:29 0:00 grep libvirt > > > > [host:~]$ mkdir /dev/cgroup/hello > > > > [host:~]$ cat /dev/cgroup/hello/tasks > > > > [host:~]$ echo 0 > > /dev/cgroup/hello/cpuset.cpus > > > > [host:~]$ echo 0 > > /dev/cgroup/hello/cpuset.mems > > > > > > Can you paste the output of > > > > > > cat /dev/cgroup/hello/cpuset.cpus and mems. > > > > > > Also please paste the o/p of > /dev/cgroup/cpuset.cpus and > > > mems > > > > > > > [host:~]$ echo 575 > > /dev/cgroup/hello/tasks > > > > [host:~]$ cat /dev/cgroup/hello/tasks > > > > 575 > > > > [host:~]$ id > > > > uid=0(root) gid=0(root) groups=0(root) > > > > [host:~]$ > > > > > > > > Now, I try to move the task out - the > parent/root: > > > > > > > > [host:~]$ echo 575 > /dev/cgroup/tasks > > > > -bash: echo: write error: Operation not > permitted > > > > > > can you send us the o/p of > > > > > > ls -al /dev/cgroup > > > > > > and ls -al /dev/cgroup/hello > > > > > > Balbir > > > > > ---- > > > > Please find output requested below: > > > > > > [host:~]$ mkdir /dev/cgroup/hello > > [host:~]$ cat /dev/cgroup/hello/tasks > > [host:~]$ echo 0 > /dev/cgroup/hello/cpuset.cpus > > [host:~]$ echo 0 > /dev/cgroup/hello/cpuset.mems > > [host:~]$ echo 575 > /dev/cgroup/hello/tasks > > [host:~]$ cat /dev/cgroup/hello/tasks > > 575 > > [host:~]$ id > > uid=0(root) gid=0(root) groups=0(root) > > [host:~]$ echo 575 > /dev/cgroup/tasks > > -bash: echo: write error: Operation not permitted > > [host:~]$ cat /dev/cgroup/hello/cpuset.cpus > > 0 > > [host:~]$ cat /dev/cgroup/hello/cpuset.mems > > 0 > > [host:~]$ cat /dev/cgroup/cpuset.mems > > 0 > > [host:~]$ cat /dev/cgroup/cpuset.cpus > > 0 > > [host:~]$ ls -al /dev/cgroup/ > > total 0 > > drwxr-xr-x 3 root root 0 Dec 14 > 17:29 . > > drwxr-xr-x 11 root root 2980 Dec 14 17:29 .. > > -r--r--r-- 1 root root 0 Dec 14 > 17:29 cgroup.procs > > -rw-r--r-- 1 root root 0 Dec 14 > 17:29 cpuset.cpu_exclusive > > -rw-r--r-- 1 root root 0 Dec 14 > 17:29 cpuset.cpus > > -rw-r--r-- 1 root root 0 Dec 14 > 17:29 cpuset.mem_exclusive > > -rw-r--r-- 1 root root 0 Dec 14 > 17:29 cpuset.mem_hardwall > > -rw-r--r-- 1 root root 0 Dec 14 > 17:29 cpuset.memory_migrate > > -r--r--r-- 1 root root 0 Dec 14 > 17:29 cpuset.memory_pressure > > -rw-r--r-- 1 root root 0 Dec 14 > 17:29 cpuset.memory_pressure_enabled > > -rw-r--r-- 1 root root 0 Dec 14 > 17:29 cpuset.memory_spread_page > > -rw-r--r-- 1 root root 0 Dec 14 > 17:29 cpuset.memory_spread_slab > > -rw-r--r-- 1 root root 0 Dec 14 > 17:29 cpuset.mems > > -rw-r--r-- 1 root root 0 Dec 14 > 17:29 cpuset.sched_load_balance > > -rw-r--r-- 1 root root 0 Dec 14 > 17:29 cpuset.sched_relax_domain_level > > drwxr-xr-x 2 root root 0 Dec 14 > 17:29 hello > > -rw-r--r-- 1 root root 0 Dec 14 > 17:29 notify_on_release > > -rw-r--r-- 1 root root 0 Dec 14 > 17:29 release_agent > > -rw-r--r-- 1 root root 0 Dec 14 > 17:31 tasks > > [host:~]$ ls -al /dev/cgroup/hello/ > > total 0 > > drwxr-xr-x 2 root root 0 Dec 14 17:29 . > > drwxr-xr-x 3 root root 0 Dec 14 17:29 .. > > -r--r--r-- 1 root root 0 Dec 14 17:29 cgroup.procs > > -rw-r--r-- 1 root root 0 Dec 14 17:29 > cpuset.cpu_exclusive > > -rw-r--r-- 1 root root 0 Dec 14 17:30 cpuset.cpus > > -rw-r--r-- 1 root root 0 Dec 14 17:29 > cpuset.mem_exclusive > > -rw-r--r-- 1 root root 0 Dec 14 17:29 > cpuset.mem_hardwall > > -rw-r--r-- 1 root root 0 Dec 14 17:29 > cpuset.memory_migrate > > -r--r--r-- 1 root root 0 Dec 14 17:29 > cpuset.memory_pressure > > -rw-r--r-- 1 root root 0 Dec 14 17:29 > cpuset.memory_spread_page > > -rw-r--r-- 1 root root 0 Dec 14 17:29 > cpuset.memory_spread_slab > > -rw-r--r-- 1 root root 0 Dec 14 17:30 cpuset.mems > > -rw-r--r-- 1 root root 0 Dec 14 17:29 > cpuset.sched_load_balance > > -rw-r--r-- 1 root root 0 Dec 14 17:29 > cpuset.sched_relax_domain_level > > -rw-r--r-- 1 root root 0 Dec 14 17:29 > notify_on_release > > -rw-r--r-- 1 root root 0 Dec 14 17:30 tasks > > [host:~]$ id > > uid=0(root) gid=0(root) groups=0(root) > > [host:~]$ > > > > Looks like Serge's ns suggestion solved your problem, > right? > > -- > Three Cheers, > Balbir > Yes, Balbir, thats right. IMHO, it would nice if it can be documented on wiki or such. Thanks everyone for suggestions.. ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: cgroup tasks file error [not found] ` <20101213231628.GA8624-A9i7LUbDfNHQT0dZR+AlfA@public.gmane.org> 2010-12-14 1:02 ` Matt Helsley @ 2010-12-14 1:23 ` ccmail111 1 sibling, 0 replies; 19+ messages in thread From: ccmail111 @ 2010-12-14 1:23 UTC (permalink / raw) To: Serge E. Hallyn; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA Hi Serge, Thanks for quick response. I had mounted as: mount -t cgroup cpuset /dev/cgroup After setting below, it works. Thank you for helpful tip ! --- On Mon, 12/13/10, Serge E. Hallyn <serge.hallyn-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org> wrote: > From: Serge E. Hallyn <serge.hallyn-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org> > Subject: Re: cgroup tasks file error > To: "ccmail111" <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> > Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org > Date: Monday, December 13, 2010, 6:16 PM > Quoting ccmail111 (ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org): > > > > I see error:[host:/dev/cgroup]$ echo 693 > > hello-test/tasks > > -bash: echo: write error: No space left on device > > [host:/dev/cgroup]$ pwd/dev/cgroup > > > > But the user process is up and running.. > > > > [host:/dev/cgroup]$ ps aux | grep procroot > > > > 693 0.0 0.4 34720 1112 ttyS0 Sl 19:11 > 0:00 /opt/bin/myproc -ext > > > > Also the cgroup exists and valid.. > > > > [host:/dev/cgroup]$ ls | grep hello-test > > hello-test > > > > What above error mean and any suggestions ? > > Please email. > > Which cgroups do you have composed on that mount? I'm > guess you > have cpuset, and you need to set the cpuset.mems and > cpuset.cpus. > Until you do that, no tasks can be assigned to it. > > -serge > ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: cgroup tasks file error
@ 2010-12-14 1:27 ccmail111
[not found] ` <478892.90636.qm-m6GApcO8MwWvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
0 siblings, 1 reply; 19+ messages in thread
From: ccmail111 @ 2010-12-14 1:27 UTC (permalink / raw)
To: Serge E. Hallyn; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Hi Serge,
Now I cannot move the pid out of the assigned group !
[host:/dev/cgroup]$ cat cpuset.cpus
0
[host:/dev/cgroup]$ cat cpuset.mems
0
[host:/dev/cgroup]$ cat hello/tasks
580
[host:/dev/cgroup]$ echo 580 > tasks
-bash: echo: write error: Operation not permitted
[host:/dev/cgroup]$
[host:/dev/cgroup]$ cd hello
[host:/dev/cgroup/hello]$ cat cpuset.cpus
0
[host:/dev/cgroup/hello]$ cat cpuset.mems
0
[host:/dev/cgroup/hello]
--- On Mon, 12/13/10, ccmail111 <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:
> From: ccmail111 <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
> Subject: Re: cgroup tasks file error
> To: "Serge E. Hallyn" <serge.hallyn-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org>
> Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
> Date: Monday, December 13, 2010, 8:23 PM
> Hi Serge,
>
> Thanks for quick response.
>
> I had mounted as:
>
> mount -t cgroup cpuset /dev/cgroup
>
> After setting below, it works.
> Thank you for helpful tip !
>
>
> --- On Mon, 12/13/10, Serge E. Hallyn <serge.hallyn-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org>
> wrote:
>
> > From: Serge E. Hallyn <serge.hallyn-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org>
> > Subject: Re: cgroup tasks file error
> > To: "ccmail111" <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
> > Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
> > Date: Monday, December 13, 2010, 6:16 PM
> > Quoting ccmail111 (ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org):
> > >
> > > I see error:[host:/dev/cgroup]$ echo 693 >
> > hello-test/tasks
> > > -bash: echo: write error: No space left on
> device
> > > [host:/dev/cgroup]$ pwd/dev/cgroup
> > >
> > > But the user process is up and running..
> > >
> > > [host:/dev/cgroup]$ ps aux | grep procroot
>
> > >
> > > 693 0.0 0.4 34720 1112 ttyS0 Sl
> 19:11
> > 0:00 /opt/bin/myproc -ext
> > >
> > > Also the cgroup exists and valid..
> > >
> > > [host:/dev/cgroup]$ ls | grep hello-test
> > > hello-test
> > >
> > > What above error mean and any suggestions ?
> > > Please email.
> >
> > Which cgroups do you have composed on that mount?
> I'm
> > guess you
> > have cpuset, and you need to set the cpuset.mems and
> > cpuset.cpus.
> > Until you do that, no tasks can be assigned to it.
> >
> > -serge
> >
>
>
>
>
^ permalink raw reply [flat|nested] 19+ messages in thread[parent not found: <478892.90636.qm-m6GApcO8MwWvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>]
* Re: cgroup tasks file error [not found] ` <478892.90636.qm-m6GApcO8MwWvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org> @ 2010-12-14 1:34 ` Li Zefan [not found] ` <4D06C996.9010101-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org> 0 siblings, 1 reply; 19+ messages in thread From: Li Zefan @ 2010-12-14 1:34 UTC (permalink / raw) To: ccmail111; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA ccmail111 wrote: > Hi Serge, > > Now I cannot move the pid out of the assigned group ! > Try: $ sudo echo 580 > tasks > [host:/dev/cgroup]$ cat cpuset.cpus > 0 > [host:/dev/cgroup]$ cat cpuset.mems > 0 > [host:/dev/cgroup]$ cat hello/tasks > 580 > > [host:/dev/cgroup]$ echo 580 > tasks > -bash: echo: write error: Operation not permitted > > [host:/dev/cgroup]$ > [host:/dev/cgroup]$ cd hello > [host:/dev/cgroup/hello]$ cat cpuset.cpus > 0 > [host:/dev/cgroup/hello]$ cat cpuset.mems > 0 > [host:/dev/cgroup/hello] > > > > --- On Mon, 12/13/10, ccmail111 <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote: > >> From: ccmail111 <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> >> Subject: Re: cgroup tasks file error >> To: "Serge E. Hallyn" <serge.hallyn-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org> >> Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org >> Date: Monday, December 13, 2010, 8:23 PM >> Hi Serge, >> >> Thanks for quick response. >> >> I had mounted as: >> >> mount -t cgroup cpuset /dev/cgroup >> >> After setting below, it works. >> Thank you for helpful tip ! >> >> >> --- On Mon, 12/13/10, Serge E. Hallyn <serge.hallyn-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org> >> wrote: >> >>> From: Serge E. Hallyn <serge.hallyn-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org> >>> Subject: Re: cgroup tasks file error >>> To: "ccmail111" <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> >>> Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org >>> Date: Monday, December 13, 2010, 6:16 PM >>> Quoting ccmail111 (ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org): >>>> I see error:[host:/dev/cgroup]$ echo 693 > >>> hello-test/tasks >>>> -bash: echo: write error: No space left on >> device >>>> [host:/dev/cgroup]$ pwd/dev/cgroup >>>> >>>> But the user process is up and running.. >>>> >>>> [host:/dev/cgroup]$ ps aux | grep procroot >> >>>> 693 0.0 0.4 34720 1112 ttyS0 Sl >> 19:11 >>> 0:00 /opt/bin/myproc -ext >>>> Also the cgroup exists and valid.. >>>> >>>> [host:/dev/cgroup]$ ls | grep hello-test >>>> hello-test >>>> >>>> What above error mean and any suggestions ? >>>> Please email. >>> Which cgroups do you have composed on that mount? >> I'm >>> guess you >>> have cpuset, and you need to set the cpuset.mems and >>> cpuset.cpus. >>> Until you do that, no tasks can be assigned to it. >>> >>> -serge >>> >> >> >> > ^ permalink raw reply [flat|nested] 19+ messages in thread
[parent not found: <4D06C996.9010101-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>]
* Re: cgroup tasks file error [not found] ` <4D06C996.9010101-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org> @ 2010-12-14 2:50 ` ccmail111 [not found] ` <903526.98695.qm-I5qWG7eNxUOvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org> 2010-12-14 9:31 ` Greg Kurz 1 sibling, 1 reply; 19+ messages in thread From: ccmail111 @ 2010-12-14 2:50 UTC (permalink / raw) To: Li Zefan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA Hi Li, uid is already root: [host:/dev/cgroup]$ id uid=0(root) gid=0(root) groups=0(root) [host:/dev/cgroup]$ echo 580 > tasks -bash: echo: write error: Operation not permitted [host:/dev/cgroup]$ cat hello/tasks 580 610 2104 [host:/dev/cgroup]$ --- On Mon, 12/13/10, Li Zefan <lizf-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org> wrote: > From: Li Zefan <lizf-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org> > Subject: Re: cgroup tasks file error > To: "ccmail111" <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> > Cc: "Serge E. Hallyn" <serge.hallyn-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org>, containers-cunTk1MwBs+mg8Ev75riOw@public.gmane.orgx-foundation.org > Date: Monday, December 13, 2010, 8:34 PM > ccmail111 wrote: > > Hi Serge, > > > > Now I cannot move the pid out of the assigned group ! > > > > Try: > > $ sudo echo 580 > tasks > > > [host:/dev/cgroup]$ cat cpuset.cpus > > 0 > > [host:/dev/cgroup]$ cat cpuset.mems > > 0 > > [host:/dev/cgroup]$ cat hello/tasks > > 580 > > > > [host:/dev/cgroup]$ echo 580 > tasks > > -bash: echo: write error: Operation not permitted > > > > [host:/dev/cgroup]$ > > [host:/dev/cgroup]$ cd hello > > [host:/dev/cgroup/hello]$ cat cpuset.cpus > > 0 > > [host:/dev/cgroup/hello]$ cat cpuset.mems > > 0 > > [host:/dev/cgroup/hello] > > > > > > > > --- On Mon, 12/13/10, ccmail111 <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> > wrote: > > > >> From: ccmail111 <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> > >> Subject: Re: cgroup tasks file error > >> To: "Serge E. Hallyn" <serge.hallyn-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org> > >> Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org > >> Date: Monday, December 13, 2010, 8:23 PM > >> Hi Serge, > >> > >> Thanks for quick response. > >> > >> I had mounted as: > >> > >> mount -t cgroup cpuset /dev/cgroup > >> > >> After setting below, it works. > >> Thank you for helpful tip ! > >> > >> > >> --- On Mon, 12/13/10, Serge E. Hallyn <serge.hallyn-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org> > >> wrote: > >> > >>> From: Serge E. Hallyn <serge.hallyn-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org> > >>> Subject: Re: cgroup tasks file error > >>> To: "ccmail111" <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> > >>> Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org > >>> Date: Monday, December 13, 2010, 6:16 PM > >>> Quoting ccmail111 (ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org): > >>>> I see error:[host:/dev/cgroup]$ echo 693 > > > >>> hello-test/tasks > >>>> -bash: echo: write error: No space left > on > >> device > >>>> [host:/dev/cgroup]$ pwd/dev/cgroup > >>>> > >>>> But the user process is up and running.. > >>>> > >>>> [host:/dev/cgroup]$ ps aux | grep > procroot > >> > >>>> 693 0.0 0.4 34720 > 1112 ttyS0 Sl > >> 19:11 > >>> 0:00 /opt/bin/myproc -ext > >>>> Also the cgroup exists and valid.. > >>>> > >>>> [host:/dev/cgroup]$ ls | grep hello-test > >>>> hello-test > >>>> > >>>> What above error mean and any suggestions > ? > >>>> Please email. > >>> Which cgroups do you have composed on that > mount? > >> I'm > >>> guess you > >>> have cpuset, and you need to set the > cpuset.mems and > >>> cpuset.cpus. > >>> Until you do that, no tasks can be assigned to > it. > >>> > >>> -serge > >>> > >> > >> > >> > > > ^ permalink raw reply [flat|nested] 19+ messages in thread
[parent not found: <903526.98695.qm-I5qWG7eNxUOvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>]
* Re: cgroup tasks file error [not found] ` <903526.98695.qm-I5qWG7eNxUOvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org> @ 2010-12-14 17:13 ` Serge E. Hallyn 0 siblings, 0 replies; 19+ messages in thread From: Serge E. Hallyn @ 2010-12-14 17:13 UTC (permalink / raw) To: ccmail111; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA Quoting ccmail111 (ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org): > Hi Li, > > uid is already root: > > [host:/dev/cgroup]$ id > uid=0(root) gid=0(root) groups=0(root) > > > [host:/dev/cgroup]$ echo 580 > tasks > -bash: echo: write error: Operation not permitted > > [host:/dev/cgroup]$ cat hello/tasks > 580 > 610 > 2104 > [host:/dev/cgroup]$ Could you give: ls -lZd /dev/cgroup /dev/cgroup/tasks id -Z ls -laFZ /dev/cgroup/ cat /dev/cgroup/* mount I'm wondering whether an lsm is stopping you. -serge ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: cgroup tasks file error [not found] ` <4D06C996.9010101-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org> 2010-12-14 2:50 ` ccmail111 @ 2010-12-14 9:31 ` Greg Kurz [not found] ` <4D07398D.9050002-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org> 1 sibling, 1 reply; 19+ messages in thread From: Greg Kurz @ 2010-12-14 9:31 UTC (permalink / raw) To: Li Zefan Cc: ccmail111, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA On 12/14/2010 02:34 AM, Li Zefan wrote: > Try: > > $ sudo echo 580> tasks Hmmm... you probably mean: sudo sh -c 'echo 580> tasks' Cheers. -- Gregory Kurz gkurz-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org Software Engineer @ IBM/Meiosys http://www.ibm.com Tel +33 (0)534 638 479 Fax +33 (0)561 400 420 "Anarchy is about taking complete responsibility for yourself." Alan Moore. ^ permalink raw reply [flat|nested] 19+ messages in thread
[parent not found: <4D07398D.9050002-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>]
* Re: cgroup tasks file error [not found] ` <4D07398D.9050002-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org> @ 2010-12-14 17:17 ` ccmail111 0 siblings, 0 replies; 19+ messages in thread From: ccmail111 @ 2010-12-14 17:17 UTC (permalink / raw) To: Li Zefan, Greg Kurz Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA The uid is already root as below, $ id uid=0(root) gid=0(root) groups=0(root) --- On Tue, 12/14/10, Greg Kurz <gkurz-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org> wrote: > From: Greg Kurz <gkurz-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org> > Subject: Re: cgroup tasks file error > To: "Li Zefan" <lizf-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org> > Cc: "ccmail111" <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>, containers-cunTk1MwBs9QetFLy7KEmxxBWXNxL4zz@public.gmane.orgorg > Date: Tuesday, December 14, 2010, 4:31 AM > On 12/14/2010 02:34 AM, Li Zefan > wrote: > > Try: > > > > $ sudo echo 580> tasks > > Hmmm... you probably mean: > > sudo sh -c 'echo 580> tasks' > > Cheers. > > -- Gregory Kurz > > gkurz-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org > Software Engineer @ IBM/Meiosys > http://www.ibm.com > Tel +33 (0)534 638 479 > > Fax +33 (0)561 400 420 > > "Anarchy is about taking complete responsibility for > yourself." > Alan Moore. > ^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2010-12-15 22:08 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-13 22:25 cgroup tasks file error ccmail111
[not found] ` <149701.57773.qm-VjZBGxy5l2evuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2010-12-13 23:16 ` Serge E. Hallyn
[not found] ` <20101213231628.GA8624-A9i7LUbDfNHQT0dZR+AlfA@public.gmane.org>
2010-12-14 1:02 ` Matt Helsley
[not found] ` <20101214010243.GC26523-52DBMbEzqgQ/wnmkkaCWp/UQ3DHhIser@public.gmane.org>
2010-12-14 7:28 ` ccmail111
[not found] ` <464217.68381.qm-VjZBGxy5l2evuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2010-12-14 9:39 ` Jue Hong
[not found] ` <AANLkTi=tpq0Jo9WAd5eu=fP2bLaSG6iLpHtAVR1xe=Ub-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-12-14 17:33 ` ccmail111
[not found] ` <166364.22607.qm-VjZBGxy5l2evuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2010-12-14 17:40 ` Serge Hallyn
2010-12-14 19:23 ` ccmail111
2010-12-14 17:41 ` Balbir Singh
[not found] ` <AANLkTi=gR2JVXf0uidRMZo7s88th1wu-4+AbC0ZwRUJk-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-12-14 18:22 ` ccmail111
[not found] ` <478906.58374.qm-NvXQCeNhX6ivuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2010-12-15 17:51 ` Balbir Singh
[not found] ` <20101215175158.GB9587-SINUvgVNF2CyUtPGxGje5AC/G2K4zDHf@public.gmane.org>
2010-12-15 22:08 ` ccmail111
2010-12-14 1:23 ` ccmail111
-- strict thread matches above, loose matches on Subject: below --
2010-12-14 1:27 ccmail111
[not found] ` <478892.90636.qm-m6GApcO8MwWvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2010-12-14 1:34 ` Li Zefan
[not found] ` <4D06C996.9010101-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2010-12-14 2:50 ` ccmail111
[not found] ` <903526.98695.qm-I5qWG7eNxUOvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2010-12-14 17:13 ` Serge E. Hallyn
2010-12-14 9:31 ` Greg Kurz
[not found] ` <4D07398D.9050002-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2010-12-14 17:17 ` ccmail111
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.