8000 Determine strategy for restarting GW from Ansible role · Issue #214 · girder/girder_worker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Determine strategy for restarting GW from Ansible role #214
Open
@danlamanna

Description

@danlamanna

How should restarting Girder worker during deployment function? Sometimes the service may need to be restarted but have running tasks, can a soft restart be accomplished with a specific kill signal?

From @kotfic:

Restarting with TERM signal should ensure all tasks complete before shutting down the worker. See: http://celery.readthedocs.io/en/latest/faq.html#can-i-safely-shut-down-the-worker

If that's the case then this should already be taken care of, systemd defaults to sending SIGTERM to stop a service. What's left is testing that this works when provisioning with running tasks.

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

      0