- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在/home/david/conf/supervisor.conf
中设置了以下内容:
[unix_http_server]
file=/home/david/tmp/supervisor.sock
[supervisord]
logfile=/home/david/tmp/supervisord.log ; (main log file;default $CWD/supervisord.log)
logfile_maxbytes=50MB ; (max main logfile bytes b4 rotation;default 50MB)
logfile_backups=10 ; (num of main logfile rotation backups;default 10)
loglevel=info ; (log level;default info; others: debug,warn,trace)
pidfile=/home/david/tmp/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
nodaemon=false ; (start in foreground if true;default false)
minfds=1024 ; (min. avail startup file descriptors;default 1024)
minprocs=200
childlogdir=/home/david/tmp
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///home/david/tmp/supervisor.sock
并开始supervisord :
$ supervisord -c /home/david/conf/supervisor.conf
但是为什么supervisorctl
仍然使用默认的http://localhost:9001
作为serverurl
?
$ supervisorctl
http://localhost:9001 refused connection
supervisor>
我检查了 /home/david/tmp
并且文件 supervisord.log
和 supervisord.pid
确实存在。
最佳答案
您还应该使用 -c
运行 supervisorctl
。来自文档(我的重点):
The Supervisor configuration file is conventionally named
supervisord.conf
. It is used by bothsupervisord
andsupervisorctl
. If either application is started without the-c
option (the option which is used to tell the application the configuration filename explicitly), the application will look for a file named supervisord.conf within the following locations, in the specified order. It will use the first file it finds.
$CWD/supervisord.conf
$CWD/etc/supervisord.conf
/etc/supervisord.conf
关于supervisord - Supervisorctl 不尊重我的配置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17005404/
我在/home/david/conf/supervisor.conf中设置了以下内容: [unix_http_server] file=/home/david/tmp/supervisor.sock
我让 supervisorctl 运行了大约 50 个进程。现在我想在我的网站上获取这些进程的状态。我的想法是在 php exec(“sudo supervisorctl status”) 上使用并将
Logstash无法在supervisord下启动,但可以直接使用命令运行。 Ubuntu 5.4.0-6ubuntu1~16.04.10、logstash-6.5.3、supervisord 3.2
我正在尝试安装 supervisorctl 以用于我的 laravel 队列命令,但出现错误(没有这样的过程)这是我的 supervisord.conf 我已经尝试了所有重新加载、重新读取和重新启动,
supervisorctl tail从哪里获取某个进程的日志信息?我如何获得完整的日志? 最佳答案 来自命令行帮助(supervisorctl help tail): tail [-f] [stdo
当这个命令php artisan queue:restart运行,所有队列工作器都会优雅地重新启动。 但是,如果这些命令 supervisorctl reload或 supervisorctl res
我有这个 bash 脚本与主管一起运行 #!/bin/bash DIR="/home/files" while read file; do IFS=', ' read -r -a array <
我让 supervisord 以用户 stavros 的身份运行一个程序,我想授予同一用户使用 supervisorctl 重新启动它的权限。不幸的是,我只能用 sudo 来做,否则我会在 socke
所以我已经安装了 supervisor,它似乎正在运行。我已将队列工作程序的配置文件放在/etc/supervisor/conf.d/laravel-worker.conf 中 看起来像这样 [pro
我以 root 身份启动主管: sudo supervisord -c/etc/supervisor/supervisord.conf 然后我尝试启动 supervisorctl: (myapp)ap
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 这个问题似乎不是关于 a specific programming problem, a softwar
$ sudo supervisorctl status guni:gunicorn FATAL Exited too quickly (proce
root@dev-demo-karl:~# supervisord -v 3.3.1 尝试访问 supervisorctl 时出现以下错误: Error: .ini file does not inc
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 想改进这个问题?将问题更新为 on-topic对于堆栈溢出。 2年前关闭。 Improve this qu
我正在通过 Ansible 为服务器配置 Django Stack 并从 bitbucket 获取应用程序,我正在使用 https://github.com/jcalazan/ansible-djan
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 这个问题似乎不是关于 a specific programming problem, a softwar
我是一名优秀的程序员,十分优秀!