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

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 after Daniel

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

2011-03-02 Thread Daniel Lezcano
On 03/02/2011 02:46 PM, Andre Nathan wrote: On Wed, 2011-03-02 at 14:24 +0100, Daniel Lezcano wrote: I could paste my configuration files if you think it'd help you reproducing the issue. Yes, please :) Ok. The test host has a br0 interface which is not attached to any physical interface:

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

2011-02-28 Thread Daniel Lezcano
On 02/28/2011 01:55 AM, Trent W. Buck wrote: Daniel Lezcanodaniel.lezc...@free.fr writes: I was using dnsmasq as a dns and a dhcp server and sending the hostname as an identifier for the dhcp protocol, so I was able to reach the container without taking care of the ip address / mac address.

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

2011-02-28 Thread Andre Nathan
Hi Daniel On Sat, 2011-02-26 at 18:34 +0100, Daniel Lezcano wrote: The neighbor table still overflows though. Do you think increasing the number even more would be worth a try? I don't know. Are message occurrences the same ? You can try to increase the number to see if it finish to

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

2011-02-28 Thread Andre Nathan
On Mon, 2011-02-28 at 13:19 +0100, Daniel Lezcano wrote: Hmm, that sounds really weird ... What is the kernel version ? I tried on 2.6.35 (ubuntu 10.10 server kernel) and 2.6.38 (recompiled from the ubuntu natty package).

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

2011-02-28 Thread Andre Nathan
Daniel, Do you think trying a different network configuration for the containers could help? I'm trying to get macvlan to work right now... Thanks Andre -- Free Software Download: Index, Search Analyze Logs and other

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

2011-02-28 Thread Daniel Lezcano
On 02/28/2011 03:22 PM, Andre Nathan wrote: Daniel, Do you think trying a different network configuration for the containers could help? I'm trying to get macvlan to work right now... Maybe but I think the table overflow should not happen in general, I would like to understand what is

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

2011-02-27 Thread Trent W. Buck
Daniel Lezcano daniel.lezc...@free.fr writes: I was using dnsmasq as a dns and a dhcp server and sending the hostname as an identifier for the dhcp protocol, so I was able to reach the container without taking care of the ip address / mac address. But I noticed dnsmasq was collapsing and

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

2011-02-25 Thread Andre Nathan
Hi Daniel On Fri, 2011-02-25 at 08:06 +0100, Daniel Lezcano wrote: I did exactly the same configuration and ran 1024 containers. I hadn't to modify any ulimits for the container AFAIR, but just to tweak /proc/sys limits. Other than /proc/sys/fs/inotify/max_user_instances, do you remember

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

2011-02-25 Thread Andre Nathan
On Fri, 2011-02-25 at 08:06 +0100, Daniel Lezcano wrote: I did exactly the same configuration and ran 1024 containers. By the way, how did you handle the start-up of that many containers? The load average goes up very quickly unless I add a sleep 1 between lxc-start calls... Did you have

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

2011-02-25 Thread Daniel Lezcano
On 02/25/2011 03:39 PM, Andre Nathan wrote: On Fri, 2011-02-25 at 08:06 +0100, Daniel Lezcano wrote: I did exactly the same configuration and ran 1024 containers. By the way, how did you handle the start-up of that many containers? The load average goes up very quickly unless I add a sleep 1

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

2011-02-25 Thread Andre Nathan
On Fri, 2011-02-25 at 20:06 +0100, Geordy Korte wrote: Maybee a really stupid question... but why would you want to run that many containers? The idea is to use containers as a lighter-weight approach to provide isolation between customers (compared to hardware virtualization). Andre

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

2011-02-25 Thread Daniel Lezcano
On 02/25/2011 08:06 PM, Geordy Korte wrote: Maybee a really stupid question... but why would you want to run that many containers? What is interesting with the containers is the scalability. The more CPU/memory you have, the more you can add containers. AFAIK, sourceforge provides a shell