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

Give process time to respond to SIGTERM? #1

Open
richiejp opened this issue Mar 6, 2024 · 0 comments
Open

Give process time to respond to SIGTERM? #1

richiejp opened this issue Mar 6, 2024 · 0 comments

Comments

@richiejp
Copy link

richiejp commented Mar 6, 2024

Presently not a big deal, but it is not clear to me whether this gives the process time to respond to SIGTERM, beyond how long it takes kill to return and re-enter to do SIGKILL. Which is probably much faster than the target process can be interrupted. This is a concern if the target process is for e.g. a database.

err = backendProcess.Kill()

Ref.
mudler/LocalAI#1795
mudler/LocalAI#1273

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