You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Igor Cherepanov (JIRA)" <ji...@apache.org> on 2017/10/12 08:56:00 UTC

[jira] [Commented] (AIRFLOW-1705) Error: Already running on PID

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

Igor Cherepanov commented on AIRFLOW-1705:
------------------------------------------

I could solve it that way 

[https://stackoverflow.com/questions/39073443/how-do-i-restart-airflow-webserver]

but I would like to know the cause of this error 

> Error: Already running on PID
> -----------------------------
>
>                 Key: AIRFLOW-1705
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1705
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: webserver
>            Reporter: Igor Cherepanov
>
> what cause this error?
> {code:java}
> ic@ic-P900:~/airflow/dags$ airflow webserver
> [2017-10-12 10:20:47,109] {__init__.py:57} INFO - Using executor SequentialExecutor
> [2017-10-12 10:20:47,196] {driver.py:120} INFO - Generating grammar tables from /usr/lib/python3.5/lib2to3/Grammar.txt
> [2017-10-12 10:20:47,226] {driver.py:120} INFO - Generating grammar tables from /usr/lib/python3.5/lib2to3/PatternGrammar.txt
>   ____________       _____________
>  ____    |__( )_________  __/__  /________      __
> ____  /| |_  /__  ___/_  /_ __  /_  __ \_ | /| / /
> ___  ___ |  / _  /   _  __/ _  / / /_/ /_ |/ |/ /
>  _/_/  |_/_/  /_/    /_/    /_/  \____/____/|__/
>  
> /usr/local/lib/python3.5/dist-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.cache is deprecated, use flask_cache instead.
>   .format(x=modname), ExtDeprecationWarning
> [2017-10-12 10:20:47,692] [3690] {models.py:167} INFO - Filling up the DagBag from /home/ic/airflow/dags
> Running the Gunicorn Server with:
> Workers: 4 sync
> Host: 0.0.0.0:8080
> Timeout: 120
> Logfiles: - -
> =================================================================            
> [2017-10-12 10:20:48,464] {__init__.py:57} INFO - Using executor SequentialExecutor
> [2017-10-12 10:20:48,548] {driver.py:120} INFO - Generating grammar tables from /usr/lib/python3.5/lib2to3/Grammar.txt
> [2017-10-12 10:20:48,577] {driver.py:120} INFO - Generating grammar tables from /usr/lib/python3.5/lib2to3/PatternGrammar.txt
> [2017-10-12 10:20:48 +0200] [3697] [INFO] Starting gunicorn 19.3.0
> Error: Already running on PID 2446 (or pid file '/home/ic/airflow/airflow-webserver.pid' is stale)
> {code}
> thanks!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)