Scheduler and Webserver shutdown after being up briefly when going from Airflow 2.2.2 to Airflow 2.6.3 #33414
-
Environment: Airflow Version: 2.6.3 I am installing Airflow with pip within a DockerFile using base image Providers: My Airflow Cluster is running on AWS ECS, a task with a container for the webserver, and a container for the scheduler. The scheduler is using LocalExecutor. Both have been given 8GB of memory reservation. Airflow Configurations which I modified to reflect new properties available in Airflow 2.6.3: (Note I am setting some of these via environment variables).
A very similar setup has no issues on Airflow 2.2.2, this happens when going from Airflow 2.2.2 (using Python 3.7) to Airflow 2.6.3 (using Python 3.8). Description of Problem: Both Webserver and Scheduler containers shutdown after being up for a brief period. Here are a snippet of the logs: Webserver received sigterm after 4 gunicorn workers fail to start after 120 second timeout.
Scheduler logs:
As mentioned a very similar setup has no issues on Airflow 2.2.2/Python 3.7. I am able to run this setup successfully locally. Any help would be appreciated. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Beta Was this translation helpful? Give feedback.
So if you are using ECS - you need to look at your ECS logs and configuration, not at airflow configuration in short.