相关疑难解决方法(0)

nginx 每天崩溃,error.log 什么也没显示

我有一个 nginx 服务器设置为反向代理,它似乎每天都在崩溃。服务器以前从未出现过任何问题,但最近(大约一个月前)我开始注意到 nginx 没有运行,我必须登录服务器才能再次启动该过程。

我在日志中找不到任何有用的东西。我很感激在诊断问题方面的任何帮助。

nginx 版本:nginx/1.10.3 (Ubuntu)

操作系统:Ubuntu 16.04.4 LTS(在 LXC 中运行)

# systemctl status nginx
? nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Sat 2018-06-23 21:49:46 UTC; 1min 23s ago
Process: 13485 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid (code=exited, status=1/FAILURE)
Process: 13402 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Process: 13401 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; …
Run Code Online (Sandbox Code Playgroud)

ubuntu nginx

4
推荐指数
1
解决办法
3269
查看次数

标签 统计

nginx ×1

ubuntu ×1