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

"Kill failed: os: process already finished" error log on normal shutdown #360

Open
Victor-N-Suadicani opened this issue Mar 27, 2024 · 0 comments

Comments

@Victor-N-Suadicani
Copy link

Envconsul version

0.13.2

Problem

I saw the following in my application's logs:

2024-03-26T18:36:31.644Z [INFO]  envconsul: (child) receiving signal "interrupt"
2024-03-26T18:36:31.650474Z [INFO] my_app: Received SIGINT. Gracefully shutting down...
2024-03-26T18:36:31.651763Z [INFO] my_app: Gracefully shutdown.
Cleaning up...
2024-03-26T18:36:31.656Z [INFO]  envconsul.runner: stopping
2024-03-26T18:36:31.656Z [INFO]  envconsul: (child) stopping process
2024-03-26T18:36:34.034Z [ERROR] envconsul: (child) Kill failed: os: process already finished

Expected behavior

No error log should've been emitted.

Actual behavior

An error log was emitted, but no actual error occurred. The process shut down as it should. This doesn't happen every time, but sometimes. It seems like the process exited so quickly that envconsul thought something went wrong? But it just exited as it should.

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