[ 
https://issues.apache.org/jira/browse/AIRFLOW-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16449053#comment-16449053
 ] 

Xiao Zhu commented on AIRFLOW-2340:
-----------------------------------

We see that with our mysql db too

> SQLalchemy pessimistic connection handling not working
> ------------------------------------------------------
>
>                 Key: AIRFLOW-2340
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2340
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: scheduler
>    Affects Versions: 1.9.0
>            Reporter: John Arnold
>            Priority: Critical
>         Attachments: airflow_traceback.txt, webserver.txt
>
>
> Our scheduler keeps crashing, about once a day.  It seems to be triggered by 
> a failure to connect to the postgresql database, but then it doesn't recover 
> and crashes the scheduler over and over.
> The scheduler runs in a container in our environment, so after several 
> container restarts, docker gives up and the container stays down.
> Airflow should be able to recover from a connection failure without blowing 
> up the container altogether.  Perhaps some exponential backoff is needed?
>  
> See attached log from the scheduler.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to