Skip to content

Give process time to respond to SIGTERM? #1

Open
@richiejp

Description

@richiejp

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions