Dear Alan,

adjust the limits per Container in  /etc/security/limits.conf  , e.g. add 
something like


        *               hard    nofile          8192
        *               soft    nofile          8000
        *               hard    nproc           1024
        *               soft    nproc           1000

and maybe adjust the values at the host, too.


Greetings

Guido


On 17.03.2016 00:40, Alan Hoffmeister wrote:
> Hello folks,
> 
> I'm having some troubles where one container can drain the amount of file
> descriptors available in the host system. Does somebody knows how to limit
> file descriptors per container?
> 
> I'm running lxd v2.0.0.rc3 and lxc v2.0.0.rc10
> 
> Cheers
> 
> --
> Alan Hoffmeister
> https://twitter.com/alan_hoff
> https://github.com/alanhoff
> https://keybase.io/alanhoff




_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to