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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16730260#comment-16730260 ] 

ASF GitHub Bot commented on AIRFLOW-2733:
-----------------------------------------

stale[bot] commented on pull request #3586: [AIRFLOW-2733] Reconcile psutil and subprocess in webserver cli
URL: https://github.com/apache/incubator-airflow/pull/3586
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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)