活动:失败(结果:service-start-limit-hit)(systemctl restart ssh 未清除问题)

活动:失败(结果:service-start-limit-hit)(systemctl restart ssh 未清除问题)

在部署 Python 项目的任务中,我已经完成了 gunicorn 设置。

检查 gunicorn 状态文件(我今天早些时候刚刚运行了这个命令并返回了以下内容):

sudo systemctl status gunicorn.socket
Failed to dump process list, ignoring: No such file or directory
● gunicorn.socket - gunicorn socket
   Loaded: loaded (/etc/systemd/system/gunicorn.socket; enabled; vendor preset: enabled)
   Active: active (listening) since Sun 2020-02-16 21:42:10 UTC; 1min 16s ago
   Listen: /run/gunicorn.sock (Stream)
   CGroup: /system.slice/gunicorn.socket

我刚刚运行了这个命令,输出不同:

sudo systemctl status gunicorn.socket
● gunicorn.socket - gunicorn socket
   Loaded: loaded (/etc/systemd/system/gunicorn.socket; enabled; vendor preset: enabled)
   Active: failed (Result: service-start-limit-hit) since Sun 2020-02-16 21:45:01 UTC; 28min ago
   Listen: /run/gunicorn.sock (Stream)

Feb 16 21:42:10 ubuntu-s-1vcpu-1gb-nyc3-01 systemd[1]: Listening on gunicorn socket.
Feb 16 21:45:01 ubuntu-s-1vcpu-1gb-nyc3-01 systemd[1]: gunicorn.socket: Failed with result 'service-st
lines 1-7/7 (END)

我跑了systemctl restart ssh,但问题并没有得到解决。

有人知道这是什么原因造成的吗?

相关内容