Re: cgroup tasks file error [message #41931 is a reply to message #41930] |
Tue, 14 December 2010 01:23   |
ccmail111
Messages: 10 Registered: December 2010
|
Junior Member |
|
|
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@canonical.com> wrote:
> From: Serge E. Hallyn <serge.hallyn@canonical.com>
> Subject: Re: cgroup tasks file error
> To: "ccmail111" <ccmail111@yahoo.com>
> Cc: containers@lists.linux-foundation.org
> Date: Monday, December 13, 2010, 6:16 PM
> 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
> > [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
>
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containe rs
|
|
|