Home
Sign Up
Sign In
推荐学习书目
›
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
V2EX
›
Python
supervisord 如何动态的向一个正在运行的 group 添加一个新的 process?
kkwezard
·
Jan 3, 2017
· 2894 views
This topic created in 3610 days ago, the information mentioned may be changed or developed.
我现在有一个 group GGG 。包含两个进程 GGG:aaa GGG:bbb 并且正在运行。现在想添加第三个进程 GGG:ccc 到 GGG 这个组中并且不影响之前运行的两个进程。但是用 supervisorctl 提供的 reread 和 update 命令只能整体重启 GGG 这个组?有什么好的办法吗,目前能解决的办法只能让 ccc 这个进程不属于 GGG 组而作为独立管理的进程。
ggg
进程
CCC
Group
5 replies
•
2017-01-05 14:07:58 +08:00
ansheng
Jan 3, 2017
1
reload
kkwezard
OP
Jan 4, 2017
2
@
ansheng
reload 会重启之前正在运行的进程,我不希望打断之前的程序。
ansheng
Jan 4, 2017
3
@
kkwezard
如果是这样,那请问, reload 和 restart 有什么区别?为什么要多一个 reload ,你可以看看 reload 的源码是怎么实现的
honmaple
Jan 4, 2017
4
reread?update?
kkwezard
OP
Jan 5, 2017
5
@
honmaple
这个我在问题中提过。 update 命令会导致重启整个 group 下的所有进程。但我只想添加新的进程到这个 group 并启动。不想重启 group 中正在运行的其他进程。
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
1684 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 27ms ·
UTC 15:46
·
PVG 23:46
·
LAX 07:46
·
JFK 10:46
♥ Do have faith in what you're doing.
❯