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

Statsd proxy ignores SIGTERM signal #733

Open
unitmatrix opened this issue Nov 10, 2022 · 0 comments · May be fixed by #736
Open

Statsd proxy ignores SIGTERM signal #733

unitmatrix opened this issue Nov 10, 2022 · 0 comments · May be fixed by #736

Comments

@unitmatrix
Copy link

When StatsD is run as a cluster proxy it will ignore the SIGTERM signal.

Steps to reproduce:

  • create a proxy config from the default example
    cp exampleProxyConfig.js proxyConfig.js
  • run the proxy using your config
    node proxy.js proxyConfig.js
  • try terminating the parent process
    kill <node pid>

Expected result:
statsd proxy terminates

Actual result:
statsd proxy keeps running

Could be because process_mgmt.init is never invoked from proxy.js
I have only tested from within a docker container, but should be reproducible in other environments as well.

@unitmatrix unitmatrix linked a pull request Dec 15, 2022 that will close this issue
@statsd statsd deleted a comment from kleinkk76 Jan 15, 2024
@statsd statsd deleted a comment from kleinkk76 Jan 15, 2024
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

Successfully merging a pull request may close this issue.

1 participant