[lxc-users] Unable to fork - LXD process limit?
Phillips, Julian
julian.phillips at roke.co.uk
Tue Jun 13 08:56:25 UTC 2017
Hello,
I'm trying to setup LXD (2.0.9) on Ubuntu 16.04 to run 32 Centos 6 containers, but I seem to be running into a process limit?
After building the containers, if I run "lxc exec container -- su - user" then I get "can not fork user shell: Resource temporarily unavailable". The only thing I can see that might be related is that /sys/fs/cgroups/pids/lxc/pids.current is a bit over 1024, which sounds like I might be hitting a 1024 limit. However /sys/fs/cgroups/pids/lxc/pids.max is "max", and I don't know what else might apply. Does anyone know if there is a limit I need to change somewhere to allow LXD to run more than 1024 processes at once?
Yours hopefully,
Julian
________________________________________
Roke Manor Research Limited, Romsey, Hampshire, SO51 0ZN, United Kingdom.Part of the Chemring Group.
Registered in England & Wales. Registered No: 00267550
http://www.roke.co.uk
Please update your address book. Roke is currently transitioning to its original brand and will no longer
be branded under Chemring Technology Solutions. Email addresses of Roke staff have therefore been changed
from firstname.surname at chemringts.com to firstname.surname at roke.co.uk – please use this updated format
with immediate effect.
________________________________________
The information contained in this e-mail and any attachments is proprietary to Roke Manor Research Limited and
must not be passed to any third party without permission. This communication is for information only and shall
not create or change any contractual relationship.
________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170613/a318b83a/attachment.html>
More information about the lxc-users
mailing list