V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
chenqh
V2EX  ›  Python

supervisorctl 重启进程重启不了

  •  
  •   chenqh · 2017-01-21 19:02:04 +08:00 · 6142 次点击
    这是一个创建于 2657 天前的主题,其中的信息可能已经有所发展或是发生改变。

    本来按理来说 当我调用 supervisorctl restart flower_admin: 的时候的日志是这个样子的 2017-01-21 18:58:56,498 INFO stopped: wind-tasks-showoff (exit status 1) 2017-01-21 18:59:46,495 INFO spawned: 'wind-tasks-showoff' with pid 26976 2017-01-21 18:59:47,500 INFO success: wind-tasks-showoff entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

    但是我发现我调用  supervisorctl restart flower_admin:  日志是下面这样 2017-01-21 18:43:13,882 INFO stopped: wind-tasks-showoff (exit status 1) 然而,进程就卡在这里了? 这是什么原因呢?

    6 条回复    2017-01-23 11:03:48 +08:00
    penjianfeng
        1
    penjianfeng  
       2017-01-21 21:03:19 +08:00   ❤️ 1
    exit status 1 不是都告诉你异常退出了么?supervisorctl tail -f flower_admin 以下看下报错,还不行,直接手动启动下你的那个 flower_admin 应用看下
    chenqh
        2
    chenqh  
    OP
       2017-01-21 21:14:41 +08:00
    @penjianfeng 好的,我去看下
    chenqh
        3
    chenqh  
    OP
       2017-01-21 21:27:11 +08:00
    @penjianfeng ……。还是不明白错误怎么来的……没有找到对应的错误呀……
    jason0916
        4
    jason0916  
       2017-01-21 23:13:37 +08:00
    @chenqh 你能顺利用 supervisor 配置里面的启动命令启动么?
    chenqh
        5
    chenqh  
    OP
       2017-01-22 13:33:21 +08:00
    @jason0916 知道是什么问题。可能是 supervisor3.0b2 这个版本的原因。
    Sentur
        6
    Sentur  
       2017-01-23 11:03:48 +08:00
    吓得我看了下我的 supervisor 版本
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2188 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 09:43 · PVG 17:43 · LAX 02:43 · JFK 05:43
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.