You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/09/02 18:11:01 UTC

[jira] [Assigned] (AIRFLOW-2733) Airflow webserver crashes with refresh interval <= 0 in daemon mode

     [ https://issues.apache.org/jira/browse/AIRFLOW-2733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned AIRFLOW-2733:
-------------------------------------

    Assignee:     (was: Holden Karau's magical unicorn)

> 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
>            Priority: Major
>
> 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)