查看配置文件
/etc/supervisord.conf
具体对log日志的配置
[supervisord]
nodaemon=true
logfile=/var/log/restframe/restframe-supervisord.log
[program:restframe-dbsync]
command=/usr/bin/restframe-dbsync
autorestart=unexpected
startretries=1000000
startsecs=0
priority=20
stdout_logfile=/var/log/restframe/restframe-dbsync.log
stderr_logfile=/var/log/restframe/restframe-dbsync.log
[program:restframe-worker]
command=/usr/bin/restframe-worker
autorestart=false
startretries=1000000
priority=999
对数据库操作的进程--可以发现进程是否锁死等列表
MySQL [****]> show processlist;
MySQL [****]> show variables like "%connections%";
+----------------------+-------+
| Variable_name | Value |
+----------------------+-------+
| max_connections | 1000 |
| max_user_connections | 0 |
docker问题
最新推荐文章于 2023-08-17 10:20:19 发布