Skip to content

Airflow cli is very slow #21707

Description

@Wats0ns

Apache Airflow version

2.2.2

What happened

Typing any command using airflow, like airflow, airflow version is very slow in our production environment (~20-30s for an airflow version), which is not the cas in our dev env. Airflow is run in a docker image based on the apache/airflow:latest-python3.8 image in both env. We use the helm package airflow-stable https://airflow-helm.github.io/charts to run airflow in prod, bu as stated previously it is very slow when executing commands in a pod.

We believe that this may be the one of the cause of another problem we have, which is task unable to start because of max task nb reached.

What you expected to happen

airflow version should be immediate

How to reproduce

No response

Operating System

apache/airflow:latest-python3.8, Debian GNU/Linux 10 (buster)

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

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions