sven-lange-last commented on issue #4553: Lower minimum number of available file descriptors in action limit tests URL: https://github.com/apache/incubator-openwhisk/pull/4553#issuecomment-510047847 Checking action container on local system with Docker 17.05.0-ce (via docker-machine) ``` docker run --detach openwhisk/action-nodejs-v10:nightly Unable to find image 'openwhisk/action-nodejs-v10:nightly' locally nightly: Pulling from openwhisk/action-nodejs-v10 c5e155d5a1d1: Pull complete 221d80d00ae9: Pull complete 4250b3117dca: Pull complete 3b7ca19181b2: Pull complete 425d7b2a5bcc: Pull complete 69df12c70287: Pull complete ad53476a61f2: Pull complete 204bb8bac4a1: Pull complete 8c8a7afb62e3: Pull complete 6df00f36fc9e: Pull complete 198b0349d291: Pull complete 86efe0c075fb: Pull complete 0814374af6f9: Pull complete Digest: sha256:77cfbc0597e89fbd746764ee3bf394e44939f6aa4ae7710f3395714f09d23bfc Status: Downloaded newer image for openwhisk/action-nodejs-v10:nightly b8008aebfc2fe9308ed3fda7c73c19e8341b26e4327b6b7f5dfd036d35154ad8 docker exec -it b8008aebfc2fe9308ed3fda7c73c19e8341b26e4327b6b7f5dfd036d35154ad8 /bin/sh # alias ll='ls -alF' # ps -ef UID PID PPID C STIME TTY TIME CMD root 1 0 0 10:51 ? 00:00:00 /bin/sh -c node --experimental-worker --expose-gc app.js root 5 1 0 10:51 ? 00:00:00 node --experimental-worker --expose-gc app.js root 12 0 0 10:51 ? 00:00:00 /bin/sh root 17 12 0 10:52 ? 00:00:00 ps -ef # cd /proc/1/fd # ll total 0 dr-x------ 2 root root 0 Jul 10 10:51 ./ dr-xr-xr-x 9 root root 0 Jul 10 10:51 ../ lr-x------ 1 root root 64 Jul 10 10:51 0 -> pipe:[610672] l-wx------ 1 root root 64 Jul 10 10:51 1 -> pipe:[610673] l-wx------ 1 root root 64 Jul 10 10:51 2 -> pipe:[610674] # cd /proc/5/fd # ll total 0 dr-x------ 2 root root 0 Jul 10 10:53 ./ dr-xr-xr-x 9 root root 0 Jul 10 10:51 ../ lr-x------ 1 root root 64 Jul 10 10:53 0 -> pipe:[610672] l-wx------ 1 root root 64 Jul 10 10:53 1 -> pipe:[610673] lr-x------ 1 root root 64 Jul 10 10:53 10 -> pipe:[610960] l-wx------ 1 root root 64 Jul 10 10:53 11 -> pipe:[610960] lrwx------ 1 root root 64 Jul 10 10:53 12 -> anon_inode:[eventfd] lrwx------ 1 root root 64 Jul 10 10:53 13 -> anon_inode:[eventpoll] lr-x------ 1 root root 64 Jul 10 10:53 14 -> pipe:[610961] l-wx------ 1 root root 64 Jul 10 10:53 15 -> pipe:[610961] lrwx------ 1 root root 64 Jul 10 10:53 16 -> anon_inode:[eventfd] lr-x------ 1 root root 64 Jul 10 10:53 17 -> /dev/null lrwx------ 1 root root 64 Jul 10 10:53 18 -> socket:[611200] l-wx------ 1 root root 64 Jul 10 10:53 2 -> pipe:[610674] lrwx------ 1 root root 64 Jul 10 10:53 3 -> anon_inode:[eventpoll] lr-x------ 1 root root 64 Jul 10 10:53 4 -> pipe:[610958] l-wx------ 1 root root 64 Jul 10 10:53 5 -> pipe:[610958] lr-x------ 1 root root 64 Jul 10 10:53 6 -> pipe:[610959] l-wx------ 1 root root 64 Jul 10 10:53 7 -> pipe:[610959] lrwx------ 1 root root 64 Jul 10 10:53 8 -> anon_inode:[eventfd] lrwx------ 1 root root 64 Jul 10 10:53 9 -> anon_inode:[eventpoll] ``` In total, 19 file descriptors - PID 1 and 5 share 3 file descriptors.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
