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

Add killasgroup=true to the supervisord configuration file example for celeryd #1058

Merged
merged 1 commit into from Nov 16, 2012
Merged

Add killasgroup=true to the supervisord configuration file example for celeryd #1058

merged 1 commit into from Nov 16, 2012

Conversation

staaas
Copy link
Contributor

@staaas staaas commented Nov 6, 2012

When we stop celeryd with KILL signal, children processes stay alive.
The problem was discussed 2 years ago here: issues/102

supervisord now has a special key killasgroup in order to handle this situation:

If true, when resorting to send SIGKILL to the program to terminate it send it to its whole process group instead, taking care of its children as well, useful e.g with Python programs using multiprocessing.
Introduced: 3.0a11

This key is ignored for older supervisord versions.

Just added killasgroup to the celeryd configuration example

ask added a commit that referenced this pull request Nov 16, 2012
Add killasgroup=true to the supervisord configuration file example for celeryd
@ask ask merged commit c64ac28 into celery:master Nov 16, 2012
@ask
Copy link
Contributor

ask commented Nov 16, 2012

Thanks! Merged!

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

Successfully merging this pull request may close these issues.

None yet

2 participants