You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use volta in a container to install node, it's spawning an extra child process which causes shutdown to behave incorrectly.
node index.js is resulting in a process with a child process also called node index.js
This means when SIGTERM is sent to PID Parent, nothing happens, the server is all running on PID Child.
The exact same code, using node's image results in 1 process and behaves as expected.
A little more info/guessing. It would appear that signals sent to the node shim are not being sent to the actual node process. I would assume this is unexpected/bug behavior as it prevents correct shutdown/response.
The text was updated successfully, but these errors were encountered:
When I use volta in a container to install node, it's spawning an extra child process which causes shutdown to behave incorrectly.
node index.js
is resulting in a process with a child process also callednode index.js
This means when SIGTERM is sent to PID Parent, nothing happens, the server is all running on PID Child.
The exact same code, using node's image results in 1 process and behaves as expected.
A little more info/guessing. It would appear that signals sent to the node shim are not being sent to the actual node process. I would assume this is unexpected/bug behavior as it prevents correct shutdown/response.
The text was updated successfully, but these errors were encountered: