Skip to content

Tasks stuck in scheduled #33725

@pauloventurab

Description

@pauloventurab

Apache Airflow version

Other Airflow 2 version (please specify below)

What happened

I'm a beginnier in Aiflow and I would like to know why my tasks that just print hello world in a single task is stuck on "scheduled" status. I'm running 50 in the same time, with parallelism=0 in the config and max_ative_runs = 50 and concurrency 50 with 9 workers and 1 scheduler.

Can you tell me please what could I do to improve it, it is too slow.

What you think should happen instead

I would like to run all the 50 tasks in the same second.

How to reproduce

Airflow 2.6.3
Kubernetes
Airflow cfg -> parallelism = 0
9 workers
1 scheduler
A dag with 1 taskapi to print hello world with max_active_runs = 50, concurrency = 50.

Operating System

linux

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

No one assigned

    Labels

    area:corekind:bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions