apache / airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
https://airflow.apache.org/
Apache License 2.0
37.26k stars 14.33k forks source link

Max tasks across dags stuck at 487 #44276

Open leninkumar-sv-office opened 8 hours ago

leninkumar-sv-office commented 8 hours ago

Apache Airflow version

Other Airflow 2 version (please specify below)

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

2.8.1

What happened?

I have the airflow running on AKS cluster with just the kubernetes executor.

The following configs are set for attaining the max concurrency.

Parallelism: 128 (per scheduler) No of Schedulers: 10 Default pool size: 1200 DB: Postgres Airflow Version: 2.8.1 Platform: Ubuntu We are running big data workloads and the number of Max task runs can reach 1000.

However, with the above configurations, the Max task runs across all the dags is stuck at the magic number 487 and the remaining ones are queued.

I have checked the docs about any other parameters that need to be set, however only these are mentioned.

Appreciate the suggestions from the community to identify the missing configuration.

Thanks

What you think should happen instead?

No response

How to reproduce

this setup is running on Azure K8s.

The number of concurrent tasks with kubernetes executor is stuck at 487 mac.

Operating System

Ubuntu

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?

Code of Conduct

boring-cyborg[bot] commented 8 hours ago

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.