发行版本 ubuntu
内核版本 5.15.0-117-generic
系统类型 x86_64
主机地址
启动时间 2024-12-21 11:51:22
升级到这个版本之后出的问题,之前版本没有
请帮忙解决一下
升级到这个版本之后出的问题,之前版本没有
请帮忙解决一下
你是如何查看的服务状态?
systemctl supervisor status
root@iZ7xvbdkxaqkaodik4ec16Z:~# service supervisor status
● supervisor.service - Supervisor process control system for UNIX
Loaded: loaded (/lib/systemd/system/supervisor.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2025-08-14 11:10:21 CST; 12min ago
Docs: http://supervisord.org
Main PID: 3835401 (supervisord)
Tasks: 27 (limit: 1917)
Memory: 504.1M
CPU: 24.494s
CGroup: /system.slice/supervisor.service
├─2380186 /home/services/customer_services1/myvenv/bin/python3 /home/services/customer_services1/myvenv/bin/gunicorn -w 1 -k uvicorn.workers.U>
├─3835401 /usr/bin/python3 /usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf
├─3835415 /home/services/customer_services1/myvenv/bin/python3 /home/services/customer_services1/myvenv/bin/gunicorn -w 1 -k uvicorn.workers.U>
├─3835421 /home/services/customer_services1/myvenv/bin/python3 /home/services/customer_services1/myvenv/bin/gunicorn -w 1 -k uvicorn.workers.U>
├─3838780 /home/services/customer_services1/myvenv/bin/python3 /home/services/customer_services1/myvenv/bin/gunicorn -w 1 -k uvicorn.workers.U>
├─3838781 /home/services/customer_services1/myvenv/bin/python3 /home/services/customer_services1/myvenv/bin/gunicorn -w 1 -k uvicorn.workers.U>
├─3840540 /home/services/customer_services1/myvenv/bin/python3 /home/services/customer_services1/myvenv/bin/gunicorn -w 1 -k uvicorn.workers.U>
└─3840541 /home/services/customer_services1/myvenv/bin/python3 /home/services/customer_services1/myvenv/bin/gunicorn -w 1 -k uvicorn.workers.U>
Aug 14 11:13:03 iZ7xvbdkxaqkaodik4ec16Z supervisord[3835401]: 2025-08-14 11:13:03,802 INFO waiting for 05_5726_huazhuang_00 to stop
Aug 14 11:13:04 iZ7xvbdkxaqkaodik4ec16Z supervisord[3835401]: 2025-08-14 11:13:04,437 INFO stopped: 05_5726_huazhuang_00 (exit status 0)
Aug 14 11:13:23 iZ7xvbdkxaqkaodik4ec16Z supervisord[3835401]: 2025-08-14 11:13:23,119 INFO waiting for 06_5727_qiang_00 to stop
Aug 14 11:13:23 iZ7xvbdkxaqkaodik4ec16Z supervisord[3835401]: 2025-08-14 11:13:23,553 INFO stopped: 06_5727_qiang_00 (exit status 0)
Aug 14 11:13:54 iZ7xvbdkxaqkaodik4ec16Z supervisord[3835401]: 2025-08-14 11:13:54,834 INFO waiting for 06_5729_huazhuang_00 to stop
Aug 14 11:13:55 iZ7xvbdkxaqkaodik4ec16Z supervisord[3835401]: 2025-08-14 11:13:55,270 INFO stopped: 06_5729_huazhuang_00 (exit status 0)
Aug 14 11:15:47 iZ7xvbdkxaqkaodik4ec16Z supervisord[3835401]: 2025-08-14 11:15:47,894 INFO spawned: ‘custmer_services1_00’ with pid 3838780
Aug 14 11:15:50 iZ7xvbdkxaqkaodik4ec16Z supervisord[3835401]: 2025-08-14 11:15:50,938 INFO success: custmer_services1_00 entered RUNNING state, process has stayed up for > than 3 seco>
Aug 14 11:18:37 iZ7xvbdkxaqkaodik4ec16Z supervisord[3835401]: 2025-08-14 11:18:37,009 INFO spawned: ‘customer_services2_00’ with pid 3840540
Aug 14 11:18:40 iZ7xvbdkxaqkaodik4ec16Z supervisord[3835401]: 2025-08-14 11:18:40,784 INFO success: customer_services2_00 entered RUNNING state, process has stayed up for > than 3 sec>
部分截断,但看服务状态都是正常的
我们检测的时候用的是 systemctl
你是 CentOS 吗?
看这个图
哦 那就改成 systemctl 管理吧
什么意思,原来也是用这个supervisor管理啊
有1个服务器正常,2个不正常,原因是什么啊?
1Panel 使用这个命令来检测 supervisor 是否正常
版本变更了吗,为啥老版本可以,只是升级版本就这样了
这个没法解决了吗,在线求助各位大佬
我们一直用的都是 systemctl supervisor status 这个没改
你是哪个版本可用呢?