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

Daniel Lezcano daniel.lezcano at free.fr
Mon Aug 15 22:39:08 UTC 2011


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 suggested me to
>> increase the following sysctl setting:
>>
>>    fs.inotify.max_user_instances
>>
>> HTH,
>> Andre
>>
> Hi Andre
>
> That did it, thanks very much.
>
> With:
>
> echo 1024 > /proc/sys/fs/inotify/max_user_instances
>
> I can fire up (at least) 100 containers.

FYI, maximum number of containers I reached was 1024 (the hard limit for
the number of bridge ports). I did not try to run more.




More information about the lxc-users mailing list