Well, I'm answering myself: lxc config set <container> limits.processes 100


Le 04/12/2017 à 14:35, Matlink a écrit :
> Hello,
>
> Is it possible, within LXD, to limit the number of processes a container
> can create, to block any fork bomb attack?
>
> I know it's possible from the host and with cgroup, but is there any
> mechanism included in LXD, such as setting a value in the container
> configuration?
>
> Thanks,
>
>
>
> _______________________________________________
> lxc-users mailing list
> lxc-users@lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users

-- 
Matlink - Sysadmin matlink.fr
Sortez couverts, chiffrez vos mails : https://café-vie-privée.fr/
XMPP/Jabber : matl...@matlink.fr
Clé publique PGP : 0x186BB3CA
Empreinte Off-the-record : 572174BF 6983EA74 91417CA7 705ED899 DE9D05B2

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to