airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Leslie-Waksman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-2733) Airflow webserver crashes with refresh interval <= 0 in daemon mode
Date Mon, 09 Jul 2018 21:06:00 GMT
George Leslie-Waksman created AIRFLOW-2733:
----------------------------------------------

             Summary: Airflow webserver crashes with refresh interval <= 0 in daemon mode
                 Key: AIRFLOW-2733
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2733
             Project: Apache Airflow
          Issue Type: Bug
            Reporter: George Leslie-Waksman


In airflow/bin/cli.py calls to mointor_gunicorn sub-function ([https://github.com/apache/incubator-airflow/blob/master/airflow/bin/cli.py#L841)] are
made using a mix of psutil.Process objects and subprocess.Popen objects.

 

Case 1: [https://github.com/apache/incubator-airflow/blob/master/airflow/bin/cli.py#L878]

Case 2: [https://github.com/apache/incubator-airflow/blob/master/airflow/bin/cli.py#L884]

 

In the event worker_refresh_interval is <=0 and we are in daemon mode, we end up calling
a non-existent `poll` function on a psutil.Process object: https://github.com/apache/incubator-airflow/blob/master/airflow/bin/cli.py#L847



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

Mime
View raw message