You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "bix29 (via GitHub)" <gi...@apache.org> on 2025/10/27 14:22:12 UTC

[D] For some unkonw reasons, webserver gunicorn spawns orphan workers. [airflow]

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 commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@airflow.apache.org


Re: [D] For some unkonw reasons, webserver gunicorn spawns orphan workers. [airflow]

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
GitHub user boring-cyborg[bot] added a comment to the discussion: For some unkonw reasons, webserver gunicorn spawns orphan workers.

Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.


GitHub link: https://github.com/apache/airflow/discussions/57353#discussioncomment-14794180

----
This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@airflow.apache.org


Re: [D] For some unkonw reasons, webserver gunicorn spawns orphan workers. [airflow]

Posted by "gdivya6028 (via GitHub)" <gi...@apache.org>.
GitHub user gdivya6028 added a comment to the discussion: For some unkonw reasons, webserver gunicorn spawns orphan workers.

I would like to work on this issue. Could you please assign it to me?

GitHub link: https://github.com/apache/airflow/discussions/57353#discussioncomment-14794181

----
This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@airflow.apache.org