Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Starting airflow with Docker - trigger ERROR

I am new to Docker so I have followed the official guide here for running Airflow with it-https://airflow.apache.org/docs/apache-airflow/stable/start/docker.html

When I start Airflow all services with 'docker-compose up' in Ubuntu, I get "ERROR - Triggerer's async thread was blocked for ... seconds, likely by a badly-written trigger. Set PYTHONASYNCIODEBUG=1 to get more information on overrunning coroutines."

Any idea how to fix this issue is appreciated. Thanks,

like image 383
Bobo_tren Avatar asked Jun 30 '26 05:06

Bobo_tren


1 Answers

This can be fixed by allocating more resources as mentioned here, by default docker allocates 2gb of memory and 4gb is needed.

You can follow this link for mac and link for Windows on how to change your resource allocation.

Also check your docker-compose version, you can do so by running docker-compose --version.

like image 115
William Avatar answered Jul 02 '26 22:07

William