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&

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

gunicorn python web.py

看热闹大王 9 years, 7 months ago

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

saladin answered 9 years, 7 months ago

Your Answer