damon09273 commented on issue #14896:
URL: https://github.com/apache/airflow/issues/14896#issuecomment-863858852


   I got error: daemonic processes are not allowed to have children from celery 
worker when CeleryKubernetesExecutor was used, but this error gone when 
CeleryExecutor was used.
   I does some search, there’s two options for fixing this:
   Workaround: set PYTHONOPTIMIZE=1 to escape the assert.
   The possible solution: celery worker -P threads . But there’s a problem, I 
can’t set the -P threads argument to the airflow command: airflow celery worker 
   
   Context:
   - apache-airflow==2.0.1
   - apache-airflow-providers-celery==1.0.1
   - celery==4.4.7
   - Python==3.7.10


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to