Skip to content

Child process dies while api-server is hosted with docker #52270

@brunolnetto

Description

@brunolnetto

Apache Airflow version

3.0.2

If "Other Airflow 2 version" selected, which one?

No response

What happened?

While I am hosting airflow using documentation available here, the api server tok a looong time, with child dieing (sob) until it survived and resumed the initialization. No idea what it can be.

 ____________ _____________ ____ |__( )_________ __/__ /________ __ ____ /| |_ /__ ___/_ /_ __ /_ __ \_ | /| / / ___ ___ | / _ / _ __/ _ / / /_/ /_ |/ |/ / _/_/ |_/_/ /_/ /_/ /_/ \____/____/|__/ [2025-06-25T21:51:18.012+0000] {api_server_command.py:92} INFO - Running the uvicorn with: Apps: all Workers: 4 Host: 0.0.0.0:8080 Timeout: 120 Logfiles: - ================================================================= INFO: Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit) INFO: Started parent process [7] INFO: Waiting for child process [72] INFO: Child process [72] died INFO: Waiting for child process [73] INFO: Child process [73] died INFO: Waiting for child process [74] INFO: Child process [74] died INFO: Waiting for child process [75] ... INFO: Waiting for child process [1428] INFO: Child process [1428] died /home/airflow/.local/lib/python3.12/site-packages/flask_limiter/extension.py:324 UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend. INFO: Started server process [1429] INFO: Waiting for application startup. INFO: Application startup complete. INFO: 127.0.0.1:57618 - "GET /api/v2/version HTTP/1.1" 200 OK 

What you think should happen instead?

It should be fast to be healthy.

How to reproduce

Follow these instructions: https://airflow.apache.org/docs/apache-airflow/stable/howto/docker-compose/index.html

Operating System

Ubuntu 24.04.1 LTS

Versions of Apache Airflow Providers

No response

Deployment

Official Apache Airflow Helm Chart

Deployment details

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

affected_version:3.0Issues Reported for 3.0affected_version:3.1Issues Reported for 3.1area:APIAirflow's REST/HTTP APIarea:corekind:bugThis is a clearly a bugpriority:highHigh priority bug that should be patched quickly but does not require immediate new release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions