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


   Just updated to 2.1.4 and the error message has changed. I'm seeing less 
dags receiving SIGTERM signal, although this error still appears. Now some 
tasks are being randomly killed and marked as failed before execution.  
   The logs of the tasks that have failed before execution follow this pattern:
   
   ```
   *** Log file does not exist: 
/opt/airflow/logs/airflow2/dag_test/sleep_for_15/2021-09-20T17:02:17.954197+00:00/1.log
   *** Fetching from: 
http://:8793/log/dag_test/sleep_for_15/2021-09-20T17:02:17.954197+00:00/1.log
   *** Failed to fetch log file from worker. Request URL missing either an 
'http://' or 'https://' protocol.
   ```
   
   I've also verified some succeeded tasks marked as failed. 
   
   In addition, I was able to reproduce the SIGTERM issue localy with 
docker-compose by limiting the CPU usage of the PostgresSQL container. Indeed, 
the meta database may cause the SIGTERM error. However, I wasn't expecting high 
CPU usage in PostgreSQL database while running with the official helm chart 
since it has a Pgbouncer.
   
   I can share the code of the docker-compose if you find it helpful. 
   
   


-- 
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