Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Volta Installed node is spawning extra child process #1947

Open
ianchudson-caribou opened this issue Nov 24, 2024 · 0 comments
Open

Volta Installed node is spawning extra child process #1947

ianchudson-caribou opened this issue Nov 24, 2024 · 0 comments

Comments

@ianchudson-caribou
Copy link

ianchudson-caribou commented Nov 24, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant