Re: [Lxc-users] Many containers and too many open files

2011-08-15 Thread Jäkel , Guido
Dear Daniel, What about to add little hints to such error messages; something like "Too many open files - failed to inotify_init. You may have to increase the value of fs.inotify.max_user_instances" And maybe this possible traps should be pointed out in the man page. Another trap is

Re: [Lxc-users] Many containers and too many open files

2011-08-15 Thread Daniel Lezcano
On 08/15/2011 10:05 PM, Gary Ballantyne wrote: > On 16/08/11 06:52, Andre Nathan wrote: >> Hi Gary >> >> On Tue, 2011-08-16 at 06:38 +1200, Gary Ballantyne wrote: >>> Unfortunately, I am still getting the same errors with a little over 40 >>> containers. >> I also had this problem. It was solved af

Re: [Lxc-users] Archlinux 3.0 Kernel update breaks LXC

2011-08-15 Thread Daniel Lezcano
On 08/13/2011 01:54 PM, John wrote: > I've just replaced my "lxc" package with "lxc-git" and it's working > again. Many thanks. > (my installed "lxc" package was probably one version stale also, which > was most likely the problem) > > I guess there's been a change in the kernel. before seeing yo

Re: [Lxc-users] memory limit

2011-08-15 Thread Daniel Lezcano
On 08/12/2011 11:51 PM, Papp Tamas wrote: > hi! > > I'm asking you about limiting memory. > > This is the test config: > lxc.cgroup.memory.limit_in_bytes = 16M > lxc.cgroup.memory.memsw.limit_in_bytes = 1G > lxc.cgroup.cpuset.cpus = 0-1 > lxc.cgroup.cpu.shares = 1024 > > I run apt-get upgrade and a

Re: [Lxc-users] handle memory limits

2011-08-15 Thread Daniel Lezcano
On 08/12/2011 11:00 PM, sfrazt wrote: > Hi, > > i want to to have a application container that acts with memory limits > as there is simple no more memory. Means: if it reaches the limit the > next question for more memory should simple be denied. > > The default behaviour is to kill the applicatio

Re: [Lxc-users] Many containers and too many open files

2011-08-15 Thread Gary Ballantyne
On 16/08/11 06:52, Andre Nathan wrote: > Hi Gary > > On Tue, 2011-08-16 at 06:38 +1200, Gary Ballantyne wrote: >> Unfortunately, I am still getting the same errors with a little over 40 >> containers. > I also had this problem. It was solved after Daniel suggested me to > increase the following sys

Re: [Lxc-users] IPv6 Stateless Autoconfig with radvd running on the lxc host

2011-08-15 Thread Karl Schmitz
Hi, I experienced the same problem, but could (partially) solve it by disabling IPv6 forwarding on all container's interfaces with sysctl. Kind regards, Karl -- uberSVN's rich system and user administration capabilitie

Re: [Lxc-users] Many containers and too many open files

2011-08-15 Thread Andre Nathan
Hi Gary On Tue, 2011-08-16 at 06:38 +1200, Gary Ballantyne wrote: > Unfortunately, I am still getting the same errors with a little over 40 > containers. I also had this problem. It was solved after Daniel suggested me to increase the following sysctl setting: fs.inotify.max_user_instances H

Re: [Lxc-users] Many containers and too many open files

2011-08-15 Thread Gary Ballantyne
On 15/08/11 19:52, Jäkel, Guido wrote: >> Hi >> >> Going back through the list, I couldn't find whether this has been resolved. >> >> I had a similar problem today with a little over 40 containers: >> >> # lxc-start -n gary >> lxc-start: Too many open files - failed to inotify_init >> lxc-start: fa

Re: [Lxc-users] Many containers and too many open files

2011-08-15 Thread Jäkel , Guido
>Hi > >Going back through the list, I couldn't find whether this has been resolved. > >I had a similar problem today with a little over 40 containers: > ># lxc-start -n gary >lxc-start: Too many open files - failed to inotify_init >lxc-start: failed to add utmp handler to mainloop >lxc-start: mainl

Re: [Lxc-users] Many containers and too many open files

2011-08-15 Thread Gary Ballantyne
Hi Going back through the list, I couldn't find whether this has been resolved. I had a similar problem today with a little over 40 containers: # lxc-start -n gary lxc-start: Too many open files - failed to inotify_init lxc-start: failed to add utmp handler to mainloop lxc-start: mainloop exite