Browse Source

Document list of worker signals

Ask Solem 13 years ago
parent
commit
bfec3c301a
1 changed files with 18 additions and 0 deletions
  1. 18 0
      docs/userguide/workers.rst

+ 18 - 0
docs/userguide/workers.rst

@@ -78,6 +78,24 @@ arguments as it was started with.
     Restarting by HUP is disabled on OS X because of a limitation on
     that platform.
 
+
+.. _worker-process-signals:
+
+Process Signals
+===============
+
+The celeryd main process overrides the following signals:
+
++--------------+-------------------------------------------------+
+| :sig:`TERM`  | Warm shutdown, wait for tasks to complete.      |
++--------------+-------------------------------------------------+
+| :sig:`QUIT`  | Cold shutdown, terminate ASAP                   |
++--------------+-------------------------------------------------+
+| :sig:`USR1`  | Dump traceback for all active threads.          |
++--------------+-------------------------------------------------+
+| :sig:`USR2`  | Remote debug, see :mod:`celery.contrib.rdb`.    |
++--------------+-------------------------------------------------+
+
 .. _worker-concurrency:
 
 Concurrency