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

Gary Ballantyne gary.ballantyne at haulashore.com
Mon Aug 15 20:05:05 UTC 2011


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.

Cheers

Gary






More information about the lxc-users mailing list