GitHub user bix29 created a discussion: For some unkonw reasons, webserver 
gunicorn spawns orphan workers.

For some unkonw reasons, webserver gunicorn spawns orphan workers. 
I use `gevent` worker class and set `workers=4`. But 2 extra workers are 
spawned and they are not child process of gunicorn master but child of  init 
process ( no. 1 process in container).
Any one knows how to fix this issue ?

```00:00:45 /usr/bin/containerd-shim-runc-v2 -namespace k8s.io -id 
1e5eeb4a787934a8bd2
00:00:00  \_ /pause
00:00:00  \_ /usr/bin/dumb-init -- /entrypoint bash -c exec airflow webserver
00:01:23  |   \_ /home/airflow/.local/bin/python 
/home/airflow/.local/bin/airflow webserver
00:00:35  |   |   \_ gunicorn: master [airflow-webserver]
00:00:42  |   |       \_ [ready] gunicorn: worker [airflow-webserver]
00:00:20  |   |       \_ [ready] gunicorn: worker [airflow-webserver]
00:00:56  |   |       \_ [ready] gunicorn: worker [airflow-webserver]
00:00:45  |   |       \_ [ready] gunicorn: worker [airflow-webserver]
00:01:11  |   \_ [ready] gunicorn: worker [airflow-webserver]
00:00:51  |   \_ [ready] gunicorn: worker [airflow-webserver]```

_Originally posted by @bix29 in 
https://github.com/apache/airflow/discussions/42191_

GitHub link: https://github.com/apache/airflow/discussions/57353

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to