[lxc-users] Limit file descriptors
Alan Hoffmeister
alanhoffmeister at gmail.com
Fri Mar 18 13:58:35 UTC 2016
Thanks for the reply, I'm trying to allow root access to my containers so
adjusting limits inside the rootfs isn't a good idea for me.
--
Alan Hoffmeister
https://twitter.com/alan_hoff
https://github.com/alanhoff
https://keybase.io/alanhoff
2016-03-18 3:08 GMT-03:00 Guido Jäkel <G.Jaekel at dnb.de>:
> 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 at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160318/469987c8/attachment.html>
More information about the lxc-users
mailing list