YangZhou1997 commented on issue #4476: how to remove concurrency limits URL: https://github.com/apache/incubator-openwhisk/issues/4476#issuecomment-491664067 It seems that I cannot directly set the memory to 163840m, since the CPU-share would become lower than 2 and cause container creation crash. Please see the log from invoker: ` [2019-05-13T02:46:09.470Z] [INFO] [#tid_437421f4eeb8e1fc5465be9581c85978] [DockerClientWithFileAccess] running /usr/bin/docker run -d --cpu-shares 1 --memory 256m --memory-swap 256m --network openwhiskOverlay -e __OW_API_HOST=https://10.10.1.2:443 --name wsk33_40_whisksystem_fib --pids-limit 1024 --cap-drop NET_RAW --cap-drop NET_ADMIN --ulimit nofile=1024:1024 --log-driver json-file --env __OW_ALLOW_CONCURRENT=True yangzhou1997/python3action:mpi (timeout: 1 minute) [marker:invoker_docker.run_start:8473] [2019-05-13T02:46:11.681Z] [ERROR] [#tid_437421f4eeb8e1fc5465be9581c85978] [DockerClientWithFileAccess] info: command was unsuccessful, code: 125 (unsuccessful), stdout: a115e5b3be467aa7ea1181111b00dcfe1b8ec8770af2cca58a3afb23dc39347f, stderr: WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. /usr/bin/docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux.go:424: container init caused \"process_linux.go:390: setting cgroup config for procHooks process caused \\\"The minimum allowed cpu-shares is 2\\\"\"": unknown. [marker:invoker_docker.run_error:10684:2210] ` 40960m is a workable number I have tried, which, however, reduces the maximum memory capacity of my machine four times. I am further wondering if there is a feasible solution to solve this dilemma.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services