Lỗi NginxLỗi
invalid PID numberinvalid PID number — File PID Không Hợp Lệ
File PID của Nginx chứa ID tiến trình không hợp lệ.
nginxserver
Xem chi tiết too many open filesNginx đã đạt đến số lượng file descriptor mở tối đa.
Giới hạn worker_rlimit_nofile hoặc giới hạn file descriptor của hệ thống đã bị vượt qua. Mỗi kết nối sử dụng ít nhất một file descriptor.
Tăng worker_rlimit_nofile trong nginx.conf. Nâng giới hạn hệ thống với ulimit -n hoặc /etc/security/limits.conf. Giảm số kết nối đồng thời.
# In nginx.conf
worker_rlimit_nofile 65535;
# Also increase system limits
# /etc/security/limits.conf
# nginx soft nofile 65535invalid PID numberFile PID của Nginx chứa ID tiến trình không hợp lệ.
an upstream response is buffered to a temporary filePhản hồi từ upstream đang được buffer ra đĩa vì vượt quá giới hạn bộ nhớ đệm.
429 Too Many RequestsClient đã gửi quá nhiều yêu cầu trong một khoảng thời gian nhất định.
503 Service UnavailableMáy chủ tạm thời không thể xử lý yêu cầu.
413 Request Entity Too LargePhần thân yêu cầu vượt quá kích thước tối đa mà Nginx cho phép.
bind() to 0.0.0.0:80 failed (98: Address already in use)Nginx không thể bind vào địa chỉ và cổng được yêu cầu.