125得票2回答
如何使用supervisorctl仅重启特定的进程?

我正在使用supervisord运行一些进程,它们的名称分别是process1、process2、......、process8。如果我想要重启 process{1-4},那么我可以在supervisorctl中如何操作?

108得票7回答
主管套接字错误问题

$ supervisorctl reread error: <class 'socket.error'>, [Errno 111] Connection refused: file: /usr/lib64/python2.6/socket.py line: 567 我正试图在我的生...

98得票6回答
监控程序和环境变量

我真的不知道如何让supervisor使用环境变量。 下面是一个配置片段。[program:htNotificationService] priority=2 #autostart=true #autorestart=true directory=/home/ubuntu/workspace...

70得票2回答
Celery:WorkerLostError:工作者意外退出:信号 9(SIGKILL)

我在我的Django应用程序中(在Elastic Beanstalk上)使用Celery和RabbitMQ来管理后台任务,并使用Supervisor将其变成守护进程。现在的问题是,我定义的其中一个定期任务失败了(在它正常工作了一周之后),我得到的错误信息是:[01/Apr/2014 23:04...

66得票6回答
Supervisord 停止子进程

我使用supervisord时遇到的问题之一是,当我有一个命令会生成另一个进程时,supervisord无法杀死它。 例如,我有一个Java进程,正常情况下运行如下: $ zkServer.sh start-foreground $ ps -eaf | grep zk user 3040...

58得票2回答
如何在Supervisor服务中设置环境变量

如何在Supervisor执行的命令中导出环境变量?我首先尝试了以下方法: command="export SITE=domain1; python manage.py command" 但是Supervisor报告“找不到命令”。 然后我尝试了: command=/bin/bash...

58得票1回答
Supervisord - 将进程的标准输出重定向到控制台

我计划使用Supervisor运行多个进程,请查看下面的supervisord.conf文件:[supervisord] [program:bash] command=xyz stdout_logfile =/tmp/bash.log redirect_stderr=true [super...

56得票3回答
在Docker中使用Supervisor

我并不是在询问关于如何在 Docker 中使用 Supervisor,而只是想确认一下我的理解是否正确。 我了解到当 Docker 运行时只能运行单个进程。此外,当我们需要在容器内运行多个进程时使用 Supervisor。 我见过一些例子,在不使用 Supervisor 的情况下,从基础镜...

56得票7回答
停止supervisord:关闭

我尝试启动supervisor时出现错误,有人可以帮忙吗?谢谢。 /etc/init.d/supervisord文件。 SUPERVISORD=/usr/local/bin/supervisord SUPERVISORCTL=/usr/local/bin/supervisorctl cas...

56得票5回答
Debian Wheezy上的Supervisor:另一个程序已经监听了我们的HTTP服务器配置要使用的端口。

当我运行service supervisor start时,遇到了以下错误:Starting supervisor: Error: Another program is already listening on a port that one of our HTTP servers is co...