docker问题

来源:互联网 发布:excel表格中重复数据 编辑:程序博客网 时间:2024/06/05 15:34
查看配置文件
/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 [pvrm]> show processlist;

MySQL [pvrm]> show variables like "%connections%";
+----------------------+-------+
| Variable_name        | Value |
+----------------------+-------+
| max_connections      | 1000  |
| max_user_connections | 0     |