Open ahfywf opened 3 months ago
![Uploading image.png…]()
为什么访问https:\127.0.0.1:5003 打不开 ip换成虚拟机的地址也打不开
![Uploading QQ图片20240523112453.png…]()
[root@localhost ~]# systemctl status arl-worker ● arl-worker.service - ARL Worker Service Loaded: loaded (/etc/systemd/system/arl-worker.service; enabled; vendor preset: disabled) Active: active (running) since 四 2024-05-23 11:12:46 CST; 7min ago Main PID: 21820 (celery) CGroup: /system.slice/arl-worker.service ├─21820 /usr/bin/python3.6 /usr/local/bin/celery -A app.celerytask.celery worker -l info -Q arltask -n arltask -c 2 -O fair -f arl_worker.log ├─21824 /usr/bin/python3.6 /usr/local/bin/celery -A app.celerytask.celery worker -l info -Q arltask -n arltask -c 2 -O fair -f arl_worker.log └─21825 /usr/bin/python3.6 /usr/local/bin/celery -A app.celerytask.celery worker -l info -Q arltask -n arltask -c 2 -O fair -f arl_worker.log
5月 23 11:12:47 localhost.localdomain celery[21820]: - ---------- .> transport: amqp://arl:@localhost:5672/arlv2host 5月 23 11:12:47 localhost.localdomain celery[21820]: - ---------- .> results: disabled:// 5月 23 11:12:47 localhost.localdomain celery[21820]: - --- --- .> concurrency: 2 (prefork) 5月 23 11:12:47 localhost.localdomain celery[21820]: -- *** ---- .> task events: OFF (enable -E to monitor tasks in this worker) 5月 23 11:12:47 localhost.localdomain celery[21820]: --- * ----- 5月 23 11:12:47 localhost.localdomain celery[21820]: -------------- [queues] 5月 23 11:12:47 localhost.localdomain celery[21820]: .> arltask exchange=arltask(direct) key=arltask 5月 23 11:12:47 localhost.localdomain celery[21820]: [tasks] 5月 23 11:12:47 localhost.localdomain celery[21820]: . app.celerytask.arl_github 5月 23 11:12:47 localhost.localdomain celery[21820]: . app.celerytask.arl_task [root@localhost ~]# clear [root@localhost ~]# systemctl status arl-web ● arl-web.service - ARL WEB Service Loaded: loaded (/etc/systemd/system/arl-web.service; enabled; vendor preset: disabled) Active: active (running) since 四 2024-05-23 11:11:45 CST; 10min ago Main PID: 21779 (gunicorn) CGroup: /system.slice/arl-web.service ├─21779 /usr/bin/python3.6 /usr/local/bin/gunicorn -b 127.0.0.1:5013 app.main:arl_app -w 3 --access-logfile arl_web.log --access-logformat %({x-real-ip}i)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s" ├─21782 /usr/bin/python3.6 /usr/local/bin/gunicorn -b 127.0.0.1:5013 app.main:arl_app -w 3 --access-logfile arl_web.log --access-logformat %({x-real-ip}i)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s" ├─21783 /usr/bin/python3.6 /usr/local/bin/gunicorn -b 127.0.0.1:5013 app.main:arl_app -w 3 --access-logfile arl_web.log --access-logformat %({x-real-ip}i)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s" └─21784 /usr/bin/python3.6 /usr/local/bin/gunicorn -b 127.0.0.1:5013 app.main:arl_app -w 3 --access-logfile arl_web.log --access-logformat %({x-real-ip}i)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s"
5月 23 11:11:45 localhost.localdomain systemd[1]: Started ARL WEB Service. 5月 23 11:11:45 localhost.localdomain gunicorn[21779]: [2024-05-23 11:11:45 +0800] [21779] [INFO] Starting gunicorn 20.1.0 5月 23 11:11:45 localhost.localdomain gunicorn[21779]: [2024-05-23 11:11:45 +0800] [21779] [INFO] Listening at: http://127.0.0.1:5013 (21779) 5月 23 11:11:45 localhost.localdomain gunicorn[21779]: [2024-05-23 11:11:45 +0800] [21779] [INFO] Using worker: sync 5月 23 11:11:45 localhost.localdomain gunicorn[21779]: [2024-05-23 11:11:45 +0800] [21782] [INFO] Booting worker with pid: 21782 5月 23 11:11:45 localhost.localdomain gunicorn[21779]: [2024-05-23 11:11:45 +0800] [21783] [INFO] Booting worker with pid: 21783 5月 23 11:11:45 localhost.localdomain gunicorn[21779]: [2024-05-23 11:11:45 +0800] [21784] [INFO] Booting worker with pid: 21784 [root@localhost ~]# systemctl status arl-worker ● arl-worker.service - ARL Worker Service Loaded: loaded (/etc/systemd/system/arl-worker.service; enabled; vendor preset: disabled) Active: active (running) since 四 2024-05-23 11:12:46 CST; 9min ago Main PID: 21820 (celery) CGroup: /system.slice/arl-worker.service ├─21820 /usr/bin/python3.6 /usr/local/bin/celery -A app.celerytask.celery worker -l info -Q arltask -n arltask -c 2 -O fair -f arl_worker.log ├─21824 /usr/bin/python3.6 /usr/local/bin/celery -A app.celerytask.celery worker -l info -Q arltask -n arltask -c 2 -O fair -f arl_worker.log └─21825 /usr/bin/python3.6 /usr/local/bin/celery -A app.celerytask.celery worker -l info -Q arltask -n arltask -c 2 -O fair -f arl_worker.log
5月 23 11:12:47 localhost.localdomain celery[21820]: - ---------- .> transport: amqp://arl:@localhost:5672/arlv2host 5月 23 11:12:47 localhost.localdomain celery[21820]: - ---------- .> results: disabled:// 5月 23 11:12:47 localhost.localdomain celery[21820]: - --- --- .> concurrency: 2 (prefork) 5月 23 11:12:47 localhost.localdomain celery[21820]: -- *** ---- .> task events: OFF (enable -E to monitor tasks in this worker) 5月 23 11:12:47 localhost.localdomain celery[21820]: --- * ----- 5月 23 11:12:47 localhost.localdomain celery[21820]: -------------- [queues] 5月 23 11:12:47 localhost.localdomain celery[21820]: .> arltask exchange=arltask(direct) key=arltask 5月 23 11:12:47 localhost.localdomain celery[21820]: [tasks] 5月 23 11:12:47 localhost.localdomain celery[21820]: . app.celerytask.arl_github 5月 23 11:12:47 localhost.localdomain celery[21820]: . app.celerytask.arl_task [root@localhost ~]# systemctl status arl-worker-github ● arl-worker-github.service - ARL Worker GitHub Service Loaded: loaded (/etc/systemd/system/arl-worker-github.service; enabled; vendor preset: disabled) Active: active (running) since 四 2024-05-23 11:12:57 CST; 9min ago Main PID: 21835 (celery) CGroup: /system.slice/arl-worker-github.service ├─21835 /usr/bin/python3.6 /usr/local/bin/celery -A app.celerytask.celery worker -l info -Q arlgithub -n arlgithub -c 2 -O fair -f arl_worker.log ├─21839 /usr/bin/python3.6 /usr/local/bin/celery -A app.celerytask.celery worker -l info -Q arlgithub -n arlgithub -c 2 -O fair -f arl_worker.log └─21840 /usr/bin/python3.6 /usr/local/bin/celery -A app.celerytask.celery worker -l info -Q arlgithub -n arlgithub -c 2 -O fair -f arl_worker.log
5月 23 11:12:58 localhost.localdomain celery[21835]: - ---------- .> transport: amqp://arl:@localhost:5672/arlv2host 5月 23 11:12:58 localhost.localdomain celery[21835]: - ---------- .> results: disabled:// 5月 23 11:12:58 localhost.localdomain celery[21835]: - --- --- .> concurrency: 2 (prefork) 5月 23 11:12:58 localhost.localdomain celery[21835]: -- *** ---- .> task events: OFF (enable -E to monitor tasks in this worker) 5月 23 11:12:58 localhost.localdomain celery[21835]: --- * ----- 5月 23 11:12:58 localhost.localdomain celery[21835]: -------------- [queues] 5月 23 11:12:58 localhost.localdomain celery[21835]: .> arlgithub exchange=arlgithub(direct) key=arlgithub 5月 23 11:12:58 localhost.localdomain celery[21835]: [tasks] 5月 23 11:12:58 localhost.localdomain celery[21835]: . app.celerytask.arl_github 5月 23 11:12:58 localhost.localdomain celery[21835]: . app.celerytask.arl_task [root@localhost ~]# systemctl status arl-scheduler ● arl-scheduler.service - ARL Worker Service Loaded: loaded (/etc/systemd/system/arl-scheduler.service; enabled; vendor preset: disabled) Active: active (running) since 四 2024-05-23 11:13:07 CST; 9min ago Main PID: 21850 (python3.6) CGroup: /system.slice/arl-scheduler.service └─21850 /usr/bin/python3.6 -m app.scheduler
5月 23 11:13:07 localhost.localdomain systemd[1]: Started ARL Worker Service. 5月 23 11:13:08 localhost.localdomain python3.6[21850]: [2024-05-23 11:13:08] [INFO] [MainThread] [scheduler.py:247] start scheduler server [root@localhost ~]#
解决了吗,我也是最开始能访问,过段时间就拒绝访问了,怎么配置都没办法
我真的要吐了呀
内存我给了16G,但是查看状态说进程被杀死了,访问 https://192.168.200.134:5013/ 和 https://192.168.200.134:5003/ 都打不开网页
● arl-web.service - ARL WEB Service Loaded: loaded (/etc/systemd/system/arl-web.service; enabled; vendor preset: disabled) Active: active (running) since 一 2024-05-20 00:28:55 CST; 3 days ago Main PID: 15234 (gunicorn) CGroup: /system.slice/arl-web.service ├─15234 /usr/bin/python3.6 /usr/local/bin/gunicorn -b 127.0.0.1:5013 app.main:arl_app -w 3 --access-logfile arl_web.log --access-logformat %({x-real-ip}i)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s" ├─16114 /usr/bin/python3.6 /usr/local/bin/gunicorn -b 127.0.0.1:5013 app.main:arl_app -w 3 --access-logfile arl_web.log --access-logformat %({x-real-ip}i)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s" ├─16115 /usr/bin/python3.6 /usr/local/bin/gunicorn -b 127.0.0.1:5013 app.main:arl_app -w 3 --access-logfile arl_web.log --access-logformat %({x-real-ip}i)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s" └─16118 /usr/bin/python3.6 /usr/local/bin/gunicorn -b 127.0.0.1:5013 app.main:arl_app -w 3 --access-logfile arl_web.log --access-logformat %({x-real-ip}i)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s"
5月 23 09:42:40 localhost.localdomain gunicorn[15234]: [2024-05-23 09:42:40 +0800] [15234] [CRITICAL] WORKER TIMEOUT (pid:15305) 5月 23 09:42:40 localhost.localdomain gunicorn[15234]: [2024-05-23 09:42:40 +0800] [15234] [CRITICAL] WORKER TIMEOUT (pid:15318) 5月 23 09:42:40 localhost.localdomain gunicorn[15234]: [2024-05-23 09:42:40 +0800] [15234] [CRITICAL] WORKER TIMEOUT (pid:15324) 5月 23 09:42:40 localhost.localdomain gunicorn[15234]: [2024-05-23 09:42:40 +0800] [15305] [INFO] Worker exiting (pid: 15305) 5月 23 09:42:40 localhost.localdomain gunicorn[15234]: [2024-05-23 09:42:40 +0800] [15318] [INFO] Worker exiting (pid: 15318) 5月 23 09:42:40 localhost.localdomain gunicorn[15234]: [2024-05-23 09:42:40 +0800] [15324] [INFO] Worker exiting (pid: 15324) 5月 23 09:42:40 localhost.localdomain gunicorn[15234]: [2024-05-23 09:42:40 +0800] [15234] [WARNING] Worker with pid 15324 was terminated due to signal 9 5月 23 09:42:40 localhost.localdomain gunicorn[15234]: [2024-05-23 09:42:40 +0800] [16114] [INFO] Booting worker with pid: 16114 5月 23 09:42:40 localhost.localdomain gunicorn[15234]: [2024-05-23 09:42:40 +0800] [16115] [INFO] Booting worker with pid: 16115 5月 23 09:42:40 localhost.localdomain gunicorn[15234]: [2024-05-23 09:42:40 +0800] [16118] [INFO] Booting worker with pid: 16118