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 subversion and git services (JIRA)" <ji...@apache.org> on 2017/04/04 06:33:41 UTC

[jira] [Commented] (AIRFLOW-1004) `airflow webserver -D` runs in foreground

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

ASF subversion and git services commented on AIRFLOW-1004:
----------------------------------------------------------

Commit a9b20a04b052e9479dbb79fd46124293085610e9 in incubator-airflow's branch refs/heads/master from [~sekikn]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=a9b20a0 ]

[AIRFLOW-1004][AIRFLOW-276] Fix `airflow webserver -D` to run in background

AIRFLOW-276 introduced a monitor process for
gunicorn
to find new files in the dag folder, but it also
changed
`airflow webserver -D`'s behavior to run in
foreground.
This PR fixes that by running the monitor as a
daemon process.

Closes #2208 from sekikn/AIRFLOW-1004


> `airflow webserver -D` runs in foreground
> -----------------------------------------
>
>                 Key: AIRFLOW-1004
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1004
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: webserver
>            Reporter: Ruslan Dautkhanov
>            Assignee: Kengo Seki
>              Labels: background, restart, rolling, webserver
>             Fix For: 1.8.1
>
>
> airflow webserver doesn't want to daemonize
> {noformat}
> $ airflow webserver --daemon
> [2017-03-17 00:06:37,553] {__init__.py:57} INFO - Using executor LocalExecutor
> .. skip ..
> Running the Gunicorn Server with:
> Workers: 4 sync
> Host: 0.0.0.0:18111
> Timeout: 120
> Logfiles: - -
> =================================================================
> [2017-03-17 00:06:39,744] {__init__.py:57} INFO - Using executor LocalExecutor
> {noformat}
> webserver keeps running in foreground. 
> Sent email regarding this issue to dev list and according to [~bolke],
> "This is a (known) bug, since the introduction of the rolling restarts"



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)