Re: [Lxc-users] can't restart container without rebooting entire host, because can't delete cgroups files, tasks is 0

2010-11-22 Thread Miroslav Lednicky, AVONET, s.r.o.
Hello all, i have the same problems with another servers in LXC. It is really problem with vsftpd running in LXC container. Do you have somebody similar problem with vsftpd in container? Best regards, Miroslav. Dne 15.11.2010 16:17, Miroslav Lednicky, AVONET, s.r.o. napsal(a): > Dne 15

Re: [Lxc-users] can't restart container without rebooting entire host, because can't delete cgroups files, tasks is 0

2010-11-15 Thread Daniel Lezcano
On 11/15/2010 04:17 PM, Miroslav Lednicky, AVONET, s.r.o. wrote: > Dne 15.11.2010 15:56, Daniel Lezcano napsal(a): >> On 11/15/2010 03:26 PM, Miroslav Lednicky, AVONET, s.r.o. wrote: >>> Hello, >>> >>> please see: >>> >>> ls -l >>> total 0 >>> drwxr-xr-x 4 root root 0 2010-11-15 15:00 1285 >>> drwx

Re: [Lxc-users] can't restart container without rebooting entire host, because can't delete cgroups files, tasks is 0

2010-11-15 Thread Miroslav Lednicky, AVONET, s.r.o.
Dne 15.11.2010 15:56, Daniel Lezcano napsal(a): > On 11/15/2010 03:26 PM, Miroslav Lednicky, AVONET, s.r.o. wrote: >> Hello, >> >> please see: >> >> ls -l >> total 0 >> drwxr-xr-x 4 root root 0 2010-11-15 15:00 1285 >> drwxr-xr-x 4 root root 0 2010-11-15 15:00 1298 >> drwxr-xr-x 4 root root 0 2010-

Re: [Lxc-users] can't restart container without rebooting entire host, because can't delete cgroups files, tasks is 0

2010-11-15 Thread Daniel Lezcano
On 11/15/2010 03:26 PM, Miroslav Lednicky, AVONET, s.r.o. wrote: > Hello, > > please see: > > ls -l > total 0 > drwxr-xr-x 4 root root 0 2010-11-15 15:00 1285 > drwxr-xr-x 4 root root 0 2010-11-15 15:00 1298 > drwxr-xr-x 4 root root 0 2010-11-15 15:01 1322 > drwxr-xr-x 4 root root 0 2010-11-15

Re: [Lxc-users] can't restart container without rebooting entire host, because can't delete cgroups files, tasks is 0

2010-11-15 Thread Miroslav Lednicky, AVONET, s.r.o.
Hello, please see: ls -l total 0 drwxr-xr-x 4 root root 0 2010-11-15 15:00 1285 drwxr-xr-x 4 root root 0 2010-11-15 15:00 1298 drwxr-xr-x 4 root root 0 2010-11-15 15:01 1322 drwxr-xr-x 4 root root 0 2010-11-15 15:01 1325 drwxr-xr-x 4 root root 0 2010-11-15 15:02 1335 drwxr-xr-x 4 root roo

Re: [Lxc-users] can't restart container without rebooting entire host, because can't delete cgroups files, tasks is 0

2010-11-08 Thread Brian K. White
On 11/8/2010 1:32 PM, Serge Hallyn wrote: > Quoting Brian K. White (br...@aljex.com): >> But also, since upgrading to kernel 2.6.36 (and already using lxc 0.7.2) >> I haven't had to delete any cgroups manually anyways. It's probably not >> my release_agent because I just noticed I didn't have a wor

Re: [Lxc-users] can't restart container without rebooting entire host, because can't delete cgroups files, tasks is 0

2010-11-08 Thread Serge Hallyn
Quoting Brian K. White (br...@aljex.com): > But also, since upgrading to kernel 2.6.36 (and already using lxc 0.7.2) > I haven't had to delete any cgroups manually anyways. It's probably not > my release_agent because I just noticed I didn't have a working > release_agent (no output in it's log,

Re: [Lxc-users] can't restart container without rebooting entire host, because can't delete cgroups files, tasks is 0

2010-11-08 Thread Brian K. White
On 11/8/2010 9:25 AM, Daniel Lezcano wrote: > On 11/05/2010 09:27 PM, Serge E. Hallyn wrote: >> Quoting Miroslav Lednicky (ledni...@avonet.cz): >> >>> Hello, >>> >>> it is the same problem as I have may be: >>> >>> http://sourceforge.net/mailarchive/forum.php?thread_name=4CD297E2.2030806%40avon

Re: [Lxc-users] can't restart container without rebooting entire host, because can't delete cgroups files, tasks is 0

2010-11-08 Thread Daniel Lezcano
On 11/05/2010 09:27 PM, Serge E. Hallyn wrote: > Quoting Miroslav Lednicky (ledni...@avonet.cz): > >> Hello, >> >> it is the same problem as I have may be: >> >> http://sourceforge.net/mailarchive/forum.php?thread_name=4CD297E2.2030806%40avonet.cz&forum_name=lxc-users >> >> I don't know wh

Re: [Lxc-users] can't restart container without rebooting entire host, because can't delete cgroups files, tasks is 0

2010-11-05 Thread Serge E. Hallyn
Quoting Brian K. White (br...@aljex.com): > ! wait, you are saying just ignore the fact that there are files in > the directories and try to remove the directories, uh directly? > > nj9:~ # find /cgroup/nj10-014 -type d -delete > nj9:~ # ls -lR /cgroup/nj10-014 > ls: cannot access /cgroup/nj1

Re: [Lxc-users] can't restart container without rebooting entire host, because can't delete cgroups files, tasks is 0

2010-11-05 Thread Brian K. White
On 11/5/2010 4:20 PM, Serge E. Hallyn wrote: > Quoting Brian K. White (br...@aljex.com): >> I don't know how to track down if there is possibly some process that is >> part of the cgroup even though lxc-ps doesn't show any. >> Examine every single process and verify that it's part of the host or >>

Re: [Lxc-users] can't restart container without rebooting entire host, because can't delete cgroups files, tasks is 0

2010-11-05 Thread Serge E. Hallyn
Quoting Miroslav Lednicky (ledni...@avonet.cz): > Hello, > > it is the same problem as I have may be: > > http://sourceforge.net/mailarchive/forum.php?thread_name=4CD297E2.2030806%40avonet.cz&forum_name=lxc-users > > I don't know what can I do with it. > > Server reboot is necessary ...

Re: [Lxc-users] can't restart container without rebooting entire host, because can't delete cgroups files, tasks is 0

2010-11-05 Thread Serge E. Hallyn
Quoting Brian K. White (br...@aljex.com): > I don't know how to track down if there is possibly some process that is > part of the cgroup even though lxc-ps doesn't show any. > Examine every single process and verify that it's part of the host or > another container until I find one I can't accou

Re: [Lxc-users] can't restart container without rebooting entire host, because can't delete cgroups files, tasks is 0

2010-11-05 Thread Serge E. Hallyn
Quoting Brian K. White (br...@aljex.com): > On 11/5/2010 1:34 PM, Serge E. Hallyn wrote: > > A few comments: > > > > 1. To remove the directories, rmdir all descendent directories. I'd > > think something like 'find . -type d -print0 | xargs rmdir' would > > do. > > I can't delete _anythi

Re: [Lxc-users] can't restart container without rebooting entire host, because can't delete cgroups files, tasks is 0

2010-11-05 Thread Miroslav Lednicky
Hello, it is the same problem as I have may be: http://sourceforge.net/mailarchive/forum.php?thread_name=4CD297E2.2030806%40avonet.cz&forum_name=lxc-users I don't know what can I do with it. Server reboot is necessary ... I have Ubuntu 10.04 x64 server. Best regards, Miroslav. Dne 5

Re: [Lxc-users] can't restart container without rebooting entire host, because can't delete cgroups files, tasks is 0

2010-11-05 Thread Brian K. White
On 11/5/2010 1:34 PM, Serge E. Hallyn wrote: > A few comments: > > 1. To remove the directories, rmdir all descendent directories. I'd > think something like 'find . -type d -print0 | xargs rmdir' would > do. > 2. You can prevent this from happening by using a notify-on-release > handl

Re: [Lxc-users] can't restart container without rebooting entire host, because can't delete cgroups files, tasks is 0

2010-11-05 Thread Brian K. White
On 11/5/2010 1:34 PM, Serge E. Hallyn wrote: > A few comments: > > 1. To remove the directories, rmdir all descendent directories. I'd > think something like 'find . -type d -print0 | xargs rmdir' would > do. I can't delete _anything_ in there. Not a file, let alone a directory with or w

Re: [Lxc-users] can't restart container without rebooting entire host, because can't delete cgroups files, tasks is 0

2010-11-05 Thread Serge E. Hallyn
A few comments: 1. To remove the directories, rmdir all descendent directories. I'd think something like 'find . -type d -print0 | xargs rmdir' would do. 2. You can prevent this from happening by using a notify-on-release handler. 3. This should stop happening when lxc (soon) switches to

[Lxc-users] can't restart container without rebooting entire host, because can't delete cgroups files, tasks is 0

2010-11-05 Thread Brian K. White
I have lxc 0.7.2 on openSUSE 11.2, which is kernel 2.6.31 I get this all the time on my other boxes which up to now have been lxc 0.6.5 on the same kernel, but I've lived with it by just trying to never reboot containers, and only using containers for services that can stand to be rebooted so t