From faf8795a27634f5998d5f91b5bb7c13cf4aaa0c6 Mon Sep 17 00:00:00 2001 From: Ask Solem Date: Tue, 11 Nov 2014 16:33:23 +0000 Subject: [PATCH] Removes out of date documentation for CELERYD_FORCE_EXECV (Issue #2020) --- docs/configuration.rst | 18 ------------------ extra/release/verify_config_reference.py | 1 + 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/docs/configuration.rst b/docs/configuration.rst index 5ad2277ec99..ce8a629c4ca 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -1361,24 +1361,6 @@ to have different import categories. The modules in this setting are imported after the modules in :setting:`CELERY_IMPORTS`. -.. setting:: CELERYD_FORCE_EXECV - -CELERYD_FORCE_EXECV -~~~~~~~~~~~~~~~~~~~ - -On Unix the prefork pool will fork, so that child processes -start with the same memory as the parent process. - -This can cause problems as there is a known deadlock condition -with pthread locking primitives when `fork()` is combined with threads. - -You should enable this setting if you are experiencing hangs (deadlocks), -especially in combination with time limits or having a max tasks per child limit. - -This option will be enabled by default in a later version. - -This is not a problem on Windows, as it does not have `fork()`. - .. setting:: CELERYD_WORKER_LOST_WAIT CELERYD_WORKER_LOST_WAIT diff --git a/extra/release/verify_config_reference.py b/extra/release/verify_config_reference.py index 7392a1c60ff..b4d37c893b5 100644 --- a/extra/release/verify_config_reference.py +++ b/extra/release/verify_config_reference.py @@ -18,6 +18,7 @@ 'CELERY_REDIS_PORT', 'CELERY_REDIS_DB', 'CELERY_REDIS_PASSWORD', + 'CELERYD_FORCE_EXECV', }