浏览代码

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

Stas Rudakou 12 年之前
父节点
当前提交
637b4adf7a
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      extra/supervisord/celeryd.conf

+ 5 - 0
extra/supervisord/celeryd.conf

@@ -26,6 +26,11 @@ startsecs=10
 ; Increase this if you have very long running tasks.
 stopwaitsecs = 600
 
+; When resorting to send SIGKILL to the program to terminate it
+; send SIGKILL to its whole process group instead,
+; taking care of its children as well.
+killasgroup=true
+
 ; if rabbitmq is supervised, set its priority higher
 ; so it starts first
 priority=998