You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Rami Darwish (JIRA)" <ji...@apache.org> on 2018/12/19 20:48:00 UTC

[jira] [Created] (AIRFLOW-3544) MySQL warnings about aborted connections

Rami Darwish created AIRFLOW-3544:
-------------------------------------

             Summary: MySQL warnings about aborted connections
                 Key: AIRFLOW-3544
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3544
             Project: Apache Airflow
          Issue Type: Bug
          Components: worker
    Affects Versions: 1.10.1
            Reporter: Rami Darwish


We're still seeing some warnings about aborted connections in our mysql log.

2018-12-19T01:37:18.584535Z 3489268 [Note] Aborted connection 3489268 to db: 'airflow' user: 'airflow' host: 'x.x.x.x' (Got an error reading communication packets)

Looks like engine disposal is not being performed on the worker/task process. I was able to reproduce by executing a BashOperator command with "sleep 120". Once the task finished execution, the warning is generated and it is coming from the worker host. I'm still not sure if it is coming from the worker or from the task instance itself. 

 

We're using airflow 1.10.1, mysql 5.7, python 2.7.13 and SQLAlchemy 1.1.18



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