You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Oliver Ricken (JIRA)" <ji...@apache.org> on 2019/06/21 15:28:00 UTC

[jira] [Commented] (AIRFLOW-4567) sqlalchemy DB connection invalidated. Reconnecting

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

Oliver Ricken commented on AIRFLOW-4567:
----------------------------------------

We use Airflow 1.10.2, Maria-DB 10.2.11 and SQLAlchemy 1.2.18 and also still observe the issue.

In fact, I agree with [~trker]: it seems to cause harm in the way he describes it. We observe the scheduler timing out on single tasks as well as in total, the latter resulting in a restart of the entire scheduler and termination of all tasks. This is absolutely unbearable for us.

We would highly appreciate a re-opening of the issue and a high-priority fix.

Thank you very much in advance!

> sqlalchemy DB connection invalidated. Reconnecting
> --------------------------------------------------
>
>                 Key: AIRFLOW-4567
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4567
>             Project: Apache Airflow
>          Issue Type: Bug
>    Affects Versions: 1.10.3
>            Reporter: raphael auv
>            Priority: Major
>
> With airflow  1.10.3 , postgres 9.5.17 and SQLAlchemy 1.2.19
>  
> I'm getting a lot of :
> {code:java}
> [2019-05-24 08:50:18,644] {{__init__.py:305}} INFO - Filling up the DagBag from /usr/local/airflow/dags 
> [2019-05-24 08:50:25,771] {{sqlalchemy.py:81}} WARNING - DB connection invalidated. Reconnecting... 
> [2019-05-24 08:50:36,785] {{sqlalchemy.py:81}} WARNING - DB connection invalidated. Reconnecting... 
> [2019-05-24 08:50:47,801] {{sqlalchemy.py:81}} WARNING - DB connection invalidated. Reconnecting... 
> [2019-05-24 08:50:58,803] {{sqlalchemy.py:81}} WARNING - DB connection invalidated. Reconnecting... 
> [2019-05-24 08:51:02,069] {{__init__.py:51}} INFO - Using executor LocalExecutor
> {code}



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