Nginx 错误错误
invalid PID numberinvalid PID number — PID 文件无效
Nginx PID 文件中包含无效的进程 ID。
nginxserver
查看详情 too many open filesNginx 已达到最大打开文件描述符数量。
worker_rlimit_nofile 限制或系统的文件描述符上限已被超出。每个连接至少占用一个文件描述符。
在 nginx.conf 中增大 worker_rlimit_nofile。通过 ulimit -n 或 /etc/security/limits.conf 提高系统限制。减少并发连接数。
# In nginx.conf
worker_rlimit_nofile 65535;
# Also increase system limits
# /etc/security/limits.conf
# nginx soft nofile 65535invalid PID numberNginx PID 文件中包含无效的进程 ID。
an upstream response is buffered to a temporary file上游响应因超出内存缓冲区大小而被缓冲至磁盘。
429 Too Many Requests客户端在规定时间内发送了过多请求。
503 Service Unavailable服务器暂时无法处理请求。
413 Request Entity Too Large请求体超过了 Nginx 允许的最大大小。
bind() to 0.0.0.0:80 failed (98: Address already in use)Nginx 无法绑定到指定的地址和端口。