美文网首页
supervisor

supervisor

作者: seven1010 | 来源:发表于2021-07-15 11:05 被阅读0次
  • supervisor的常用命令:
supervisord -c supervisor.conf                             通过配置文件启动supervisor
supervisorctl -c supervisor.conf status                    察看supervisor的状态
supervisorctl -c supervisor.conf reload                    重新载入 配置文件  更新后可以选择重新载入
supervisorctl -c supervisor.conf start [all] |  [appname]     启动指定/所有 supervisor管理的程序进程
supervisorctl -c supervisor.conf stop [all] | [appname] 
  • supervisor 遇到的问题
# [RuntimeError: unable to open shared memory object, OSError: [Errno 24] Too many open files](https://stackoverflow.com/questions/51741046/runtimeerror-unable-to-open-shared-memory-object-oserror-errno-24-too-many)
# 修改下面的值
minfds=1024                  ;可以打开的文件描述符的最小值,默认 1024
minprocs=200                 ;可以打开的进程数的最小值,默认 200

相关文章

网友评论

      本文标题:supervisor

      本文链接:https://www.haomeiwen.com/subject/rftwlxtx.html