[lxc-users] Limit file descriptors
Guido Jäkel
G.Jaekel at DNB.DE
Fri Mar 18 06:08:57 UTC 2016
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
More information about the lxc-users
mailing list