gpt4 book ai didi

linux - supervisord 是否使用重启命令终止正在运行的进程?

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:19:06 24 4
gpt4 key购买 nike

我们有 supervisord 在生产环境中运行,我想知道在运行 $ supervisorctl restart group-name:* 之后是否立即终止正在运行的进程,或者 supervisor 是否让正在运行的进程完成。

尽我所能在文档和源代码中找到它。

最佳答案

据我所知,supervisorctl 会终止进程,因为通常在 supervisor work worker 脚本下永远不会停止,因此 supervisorctl 无法了解脚本何时准备好停止。

关于linux - supervisord 是否使用重启命令终止正在运行的进程?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46289309/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com