2020-01-31 00:11:19 UTC - Lixiang Ao: does anyone know how to change group_vars/all config in docker-compose mode? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580429479048400 ---- 2020-01-31 00:25:25 UTC - Lixiang Ao: I changed `openwhisk-devtools/docker-compose/openwhisk-src/ansible/group_vars/all` and used `OPENWHISK_PROJECT_HOME=./openwhisk-src make run` , but it didn't seem to work https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580430325050000 ---- 2020-01-31 00:34:23 UTC - Lixiang Ao: I wanted to change group_vars/all to increase # of concurrent functions by adding `numcore` and `coreshare` lines https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580430863052400?thread_ts=1580430863.052400&cid=C3TPCAQG1 ---- 2020-01-31 01:36:50 UTC - Rodric Rabbah: theres no mechanism for this other than invoke actions one at a time and you should consistently reuse the same container until it crashes or you stop https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580434610053400?thread_ts=1580381603.047200&cid=C3TPCAQG1 ---- 2020-01-31 06:24:12 UTC - drholmie: Hey all! Quick question, is there anyway to prewarm a custom container. I ended up messing around with the runtimes.json file to prewarm a custom one under blackboxes but doesn't seem to work out. Do tell if I'm missing anything. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580451852055200?thread_ts=1580451852.055200&cid=C3TPCAQG1 ---- 2020-01-31 06:33:34 UTC - Dominic Kim: Could you share your `runtimes.json` that you tried? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580452414055300?thread_ts=1580451852.055200&cid=C3TPCAQG1 ---- 2020-01-31 06:37:20 UTC - Dominic Kim: Could you describe more what you are tying to achieve? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580452640055500?thread_ts=1580430863.052400&cid=C3TPCAQG1 ---- 2020-01-31 06:38:15 UTC - Dominic Kim: Do you want to change the number of containers on one invoker? or the number of activations that one container can handle concurrently? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580452695055700?thread_ts=1580430863.052400&cid=C3TPCAQG1 ---- 2020-01-31 06:44:08 UTC - drholmie: Currently mobile sorry about that :sweat_smile:. The blackboxes part is the only thing I changed: "blackboxes":[{ "prefix": "openwhisk", "name": "dockerskeleton", "tag": "nightly", "stemCells":[{ "count":1, "memory":"256MB" }] }] white_check_mark : Dominic Kim https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580453048055900?thread_ts=1580451852.055200&cid=C3TPCAQG1 ---- 2020-01-31 06:44:32 UTC - Dominic Kim: let me check on it. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580453072056300?thread_ts=1580451852.055200&cid=C3TPCAQG1 ---- 2020-01-31 06:45:12 UTC - drholmie: Thank you! https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580453112056500?thread_ts=1580451852.055200&cid=C3TPCAQG1 ---- 2020-01-31 07:29:00 UTC - Dominic Kim: What kinds of scenario do you want to achieve with this? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580455740056700?thread_ts=1580451852.055200&cid=C3TPCAQG1 ---- 2020-01-31 07:29:42 UTC - Dominic Kim: I could add prewarm containers with a custom image like this: ```... "headless": [ { "kind": "headless:0.1", "default": true, "image": { "prefix": "<http://registry.navercorp.com/ow|registry.navercorp.com/ow>", "name": "puppeteer-headless-chrome", "tag": "latest" }, "deprecated": false, "attached": { "attachmentName": "codefile", "attachmentType": "text/plain" }, "stemCells": [ { "count": 2, "memory": "256 MB" } ] } ] ...``` +1 : Bilal https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580455782056900?thread_ts=1580451852.055200&cid=C3TPCAQG1 ---- 2020-01-31 07:30:38 UTC - Dominic Kim: I added a new kind `headless` and add conf for `stemCell`. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580455838057200?thread_ts=1580451852.055200&cid=C3TPCAQG1 ---- 2020-01-31 07:31:07 UTC - Dominic Kim: Then I could find prewarm containers with my image: ``` 17a063c335dc <http://registry.navercorp.com/ow/puppeteer-headless-chrome:latest|registry.navercorp.com/ow/puppeteer-headless-chrome:latest> "dumb-init -- /bin/s…" 23 minutes ago Up 23 minutes 8080/tcp wsk00_4_prewarm_headless01 cd4fea6d7367 <http://registry.navercorp.com/ow/puppeteer-headless-chrome:latest|registry.navercorp.com/ow/puppeteer-headless-chrome:latest> "dumb-init -- /bin/s…" 23 minutes ago Up 23 minutes 8080/tcp wsk00_3_prewarm_headless01``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580455867057400?thread_ts=1580451852.055200&cid=C3TPCAQG1 ---- 2020-01-31 07:31:49 UTC - Dominic Kim: I could create/invoke an action as expected. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580455909057800?thread_ts=1580451852.055200&cid=C3TPCAQG1 ---- 2020-01-31 07:33:35 UTC - drholmie: Ah nice! I actually found a very bad way of doing this by replacing an already existing runtime with my image :sweat_smile: will change it to this. Thanks so much for your help :) +1 : Dominic Kim https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580456015058100?thread_ts=1580451852.055200&cid=C3TPCAQG1 ---- 2020-01-31 07:38:19 UTC - Dominic Kim: JFYI, I created an action like this: ```$ wsk action create headless myAction.js --kind headless:0.1 -```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580456299058400?thread_ts=1580451852.055200&cid=C3TPCAQG1 ---- 2020-01-31 07:39:22 UTC - drholmie: Ah yes assumed so. Thank you! +1 : Dominic Kim https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580456362058600?thread_ts=1580451852.055200&cid=C3TPCAQG1 ---- 2020-01-31 08:33:42 UTC - Michele Sciabarra: hm https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580459622058900?thread_ts=1580381603.047200&cid=C3TPCAQG1 ---- 2020-01-31 08:34:31 UTC - Michele Sciabarra: for some reasons the first time I invoke an action it does not attach the debugger. It does the second, third and fourth time https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580459671059100?thread_ts=1580381603.047200&cid=C3TPCAQG1 ---- 2020-01-31 08:34:34 UTC - Michele Sciabarra: I need to investigate https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580459674059300?thread_ts=1580381603.047200&cid=C3TPCAQG1 ---- 2020-01-31 12:12:17 UTC - Michele Sciabarra: Actually it dose not look this way https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580472737059500?thread_ts=1580381603.047200&cid=C3TPCAQG1 ---- 2020-01-31 12:12:33 UTC - Michele Sciabarra: ```e73b56c787f3 actionloop/action-typescript-v3.7 "/bin/proxy" 3 minutes ago Up 3 minutes (Paused) 8080/tcp wsk0_5_guest_hellots d16f4df17aca actionloop/action-typescript-v3.7 "/bin/proxy" 3 minutes ago Up 3 minutes (Paused) 8080/tcp wsk0_4_guest_hellots 9a75ba643573 actionloop/ide-js "node /home/theia/sr…" 26 minutes ago Up 26 minut``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580472753059700?thread_ts=1580381603.047200&cid=C3TPCAQG1 ---- 2020-01-31 12:12:45 UTC - Michele Sciabarra: I have two containers running https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580472765059900?thread_ts=1580381603.047200&cid=C3TPCAQG1 ---- 2020-01-31 12:12:57 UTC - Michele Sciabarra: one single action https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580472777060100?thread_ts=1580381603.047200&cid=C3TPCAQG1 ---- 2020-01-31 12:13:16 UTC - Michele Sciabarra: if I try to invoke them sometimes I get one and sometimes I get another https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580472796060300?thread_ts=1580381603.047200&cid=C3TPCAQG1 ---- 2020-01-31 12:13:35 UTC - Michele Sciabarra: ```bash-5.0$ wsk action invoke -p debugWith vscode hellots -r { "address": "172.17.0.6", "localRoot": "${workspaceFolder}", "name": "/guest/hellots", "port": 8081, "remoteRoot": "/app/action/1/bin", "request": "attach", "type": "node" } bash-5.0$ wsk action invoke -p debugWith vscode hellots -r { "address": "172.17.0.7", "localRoot": "${workspaceFolder}", "name": "/guest/hellots", "port": 8081, "remoteRoot": "/app/action/1/bin", "request": "attach", "type": "node" }``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580472815060500?thread_ts=1580381603.047200&cid=C3TPCAQG1 ---- 2020-01-31 12:13:56 UTC - Michele Sciabarra: I wonder if it is not possible to “pin” an action https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580472836060700?thread_ts=1580381603.047200&cid=C3TPCAQG1 ---- 2020-01-31 18:31:31 UTC - Lixiang Ao: I didn’t know one container can handle multiple activations concurrently… https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580495491061300?thread_ts=1580430863.052400&cid=C3TPCAQG1 ---- 2020-01-31 18:33:55 UTC - Lixiang Ao: I guess the question I want to ask is what is the correct way to enable high parallelism on one host https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580495635061500?thread_ts=1580430863.052400&cid=C3TPCAQG1 ---- 2020-01-31 19:01:42 UTC - Lixiang Ao: seems by default only 4 activations can be running at the same time https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580497302061800?thread_ts=1580430863.052400&cid=C3TPCAQG1 ----