首页 > gunicorn 启动问题,启动不了

gunicorn 启动问题,启动不了

终端输入

nohup /usr/local/bin/python /usr/local/bin/gunicorn -k gevent -b 0.0.0.0:8080 
data.svnup-20150206.aiyou-api.aiyou_chatserver:application &

然后显示

nohup: 忽略输入并把输出追加到"nohup.out"

但是会自动中断

[1]+  Exit 1     nohup /usr/local/bin/python /usr/local/bin/gunicorn -k gevent 
-b 0.0.0.0:8080 data.svnup-20150206.aiyou-api.aiyou_chatserver:application&

进程里面也没有,这个问题该如何解决?求教!


补充调试信息:

[1] 28684
[root@api-test aiyou-api]$[2015-08-03 10:58:21 +0000] [28684] [INFO] Starting gunicorn 19.3.0
[2015-08-03 10:58:21 +0000] [28684] [ERROR] Connection in use: ('0.0.0.0', 8080)
[2015-08-03 10:58:21 +0000] [28684] [ERROR] Retrying in 1 second.
[2015-08-03 10:58:22 +0000] [28684] [ERROR] Connection in use: ('0.0.0.0', 8080)
[2015-08-03 10:58:22 +0000] [28684] [ERROR] Retrying in 1 second.
[2015-08-03 10:58:23 +0000] [28684] [ERROR] Connection in use: ('0.0.0.0', 8080)
[2015-08-03 10:58:23 +0000] [28684] [ERROR] Retrying in 1 second.
[2015-08-03 10:58:24 +0000] [28684] [ERROR] Connection in use: ('0.0.0.0', 8080)
[2015-08-03 10:58:24 +0000] [28684] [ERROR] Retrying in 1 second.
[2015-08-03 10:58:25 +0000] [28684] [ERROR] Connection in use: ('0.0.0.0', 8080)
[2015-08-03 10:58:25 +0000] [28684] [ERROR] Retrying in 1 second.
[2015-08-03 10:58:26 +0000] [28684] [ERROR] Can't connect to ('0.0.0.0', 8080)

碰见了同样的问题,问题是怎么解决的,能share下吗?


我只是想问一下,后台运行的话,为何不用-D参数呢,
你不用nohup 看看调试有什么打印信息


忽略输入应该指的是忽略了&符号

【热门文章】
【热门文章】