Skip to content

Gracefull shutdown (what am I doing wrong?) #964

@aurelijusrozenas

Description

@aurelijusrozenas

Hi,

TLDR; with and without SignalExtension I cannot gracefully shutdown processor by sending any kill signal.

I am using supervisor to run queue processors and supervisor is restarted when app gets deployed. The processors get killed and restarted. So I set out to understand how to gracefully shutdown processor and restart supervisor.
Debugging:
I have processor with sleep(60) and I try to gracefully shutdown it but with no luck :/
Supervisor has option to set stopsignal e.g. stopsignal=HUP. As it did not work now I just trying to pkill -HUP -f console. No matter what signal I send processor exits as soon as I send command.

Where do I have a misunderstanding about kill signals or this bundle or what am I doing wrong? I could not find any documentation in this bundle about it except for #440, but enabling SignalExtension did not help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions