ops icon indicating copy to clipboard operation
ops copied to clipboard

syscall-summary needs ctrl-c/sigint handler

Open eyberg opened this issue 3 years ago • 2 comments

sycall-summary works fine for programs that run and complete but for something like a webserver/database it doesn't work cause we don't catch the signal

eyberg avatar Jan 07 '21 18:01 eyberg

how can I replicate this?

Tried the next command and didn't see syscall summary.

ops pkg load node_v14.2.0 -a hi.js --syscall-summary --trace

hi.js console.log("hello world")

fabioDMFerreira avatar Feb 15 '21 14:02 fabioDMFerreira

I believe this needs to be handled in nanos first, it works for programs that run to completion but not something persistent like a webserver,

also - the corresponding manifest flags need to be put in for pkg support - looks like it's just for ops run now

eyberg avatar Feb 15 '21 16:02 eyberg