supervisor

  • 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)