[
https://issues.apache.org/jira/browse/AIRFLOW-1004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15963507#comment-15963507
]
ASF subversion and git services commented on AIRFLOW-1004:
----------------------------------------------------------
Commit 0a5fb7856b545073516210fcfc369d2072823ae9 in incubator-airflow's branch
refs/heads/v1-8-test from [~sekikn]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=0a5fb78 ]
[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
(cherry picked from commit a9b20a04b052e9479dbb79fd46124293085610e9)
> `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)