某一天,在浏览器开打网站,一直处于加载的状态,等待了许久都未进入页面,于是登陆服务器查看后端进程都正常,检查了证书也是正常的。
于是,尝试重启nginx:
[root@localhost ~]# systemctl restart nginx
Job for nginx.service failed because a configured resource limit was exceeded. See "systemctl status nginx.service" and "journalctl -xe" for details.
重启失败,那么说明问题出现在nginx无疑,得到以下信息:
nginx的启动服务失败,因为超过了配置的资源限制。参见"systemctl status nginx.Service"和"journalctl -xe"查询详细信息。
起初我并不知道这个报错信息是什么原因引起的,但是它提示我们输入 "systemctl status nginx.Service"和"journalctl -xe"查询详细信息