luzbarbosa commented on issue #18041:
URL: https://github.com/apache/airflow/issues/18041#issuecomment-950860525


   @LeandroDoldan  and @alete89, would you mind providing a better description 
of your config file ?
   Are you guys using the official Airflow Helm Chart ?
   
   The following DAG is a easy way to reproduce the error, would you mind 
running it just to check if the bugs also disappear in this setting ?
   
   ```
   from airflow import DAG
   from airflow.operators.python import PythonOperator
   
   import time
   from datetime import datetime
   
   dag = DAG('dag_test',
             description='test',
             schedule_interval=None,
             start_date=datetime(2021, 4, 1),
             max_active_runs=1,
             concurrency=40,
             catchup=False)
   
   
   def my_sleeping_function(t):
       time.sleep(t)
   
   
   tasks = []
   for i in range(400):
       task = PythonOperator(task_id='sleep_for_' + str(i),
                             python_callable=my_sleeping_function,
                             op_kwargs={'t': 60},
                             dag=dag)
   ```
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to