In Progress EA-11069 - NGINX fails every day

Operating System & Version
CloudLinux
cPanel & WHM Version
106

mauzilla

Registered
Feb 13, 2020
2
0
1
South Africa
cPanel Access Level
Root Administrator
We have a number of CloudLinux based cPanel servers using the NGINX reverse proxy. Of late, NGINX seems to fail every day at random times on most of the servers. Obviously websites go down during this period of time until it automagically restarts a couple of minutes later. It seems to happen daily. Anyone else running into a similar issue? We're at a point now to simply disable it as the benefits are too little risking sites going down daily.
 

Esquio

Member
Feb 29, 2016
23
5
53
Spain
cPanel Access Level
Root Administrator
We have the same problem since at least one or two months. It happens only on the servers that we have installed NGINX caching, I don't remember that happens on servers without NGINX Caching. WHM versions 106.0.10 and 102.0.25

The mail notification when it fails:

Salida sin procesar de la comprobación del servicio​
The 'nginx' service passed the check: nginx (nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf) is running as root with PID 1113080 (systemd+/proc check method).​
Registro de inicio​
nov 22 10:25:08 my.server.com systemd[1]: Reloading nginx - high performance web server.
nov 22 10:25:08 my.server.com systemd[1]: Reloaded nginx - high performance web server.
nov 22 10:25:18 my.server.com systemd[1]: Reloading nginx - high performance web server.
nov 22 10:25:19 my.server.com systemd[1]: Reloaded nginx - high performance web server.
nov 22 10:25:29 my.server.com systemd[1]: Reloading nginx - high performance web server.
nov 22 10:25:29 my.server.com systemd[1]: Reloaded nginx - high performance web server.
nov 22 10:25:38 my.server.com systemd[1]: Reloading nginx - high performance web server.
nov 22 10:25:38 my.server.com systemd[1]: Reloaded nginx - high performance web server.
nov 22 10:29:50 my.server.com systemd[1]: Reloading nginx - high performance web server.
nov 22 10:29:50 my.server.com systemd[1]: Reloaded nginx - high performance web server.

The mail notification when it recovers:



Salida sin procesar de la comprobación del servicio​
The 'nginx' service passed the check: nginx (nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf) is running as root with PID 2488291 (systemd+/proc check method).​
Registro de inicio​
nov 22 10:44:49 my.server.com systemd[1]: Starting nginx - high performance web server...
nov 22 10:44:49 my.server.com nginx[2488229]: nginx: [warn] could not build optimal server_names_hash, you should increase either server_names_hash_max_size: 1024 or server_names_hash_bucket_size: 128; ignoring server_names_hash_bucket_size
nov 22 10:44:49 my.server.com nginx[2488229]: nginx: [warn] could not build optimal server_names_hash, you should increase either server_names_hash_max_size: 1024 or server_names_hash_bucket_size: 128; ignoring server_names_hash_bucket_size
nov 22 10:44:49 my.server.com nginx[2488229]: nginx: [warn] could not build optimal server_names_hash, you should increase either server_names_hash_max_size: 1024 or server_names_hash_bucket_size: 128; ignoring server_names_hash_bucket_size
nov 22 10:44:49 my.server.com nginx[2488229]: nginx: [warn] could not build optimal server_names_hash, you should increase either server_names_hash_max_size: 1024 or server_names_hash_bucket_size: 128; ignoring server_names_hash_bucket_size
nov 22 10:44:49 my.server.com systemd[1]: Started nginx - high performance web server.
nov 22 10:58:31 my.server.com systemd[1]: Reloading nginx - high performance web server.
nov 22 10:58:31 my.server.com systemd[1]: Reloaded nginx - high performance web server.
 

Esquio

Member
Feb 29, 2016
23
5
53
Spain
cPanel Access Level
Root Administrator
The ticket number is #94505987 , I think the answer can solve the warning message, but i think it will not resolve the random outages. However, I will inform you in the ticket. Thank you so much.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
12,499
1,971
363
cPanel Access Level
Root Administrator
  • Like
Reactions: Esquio

ServerHealers

Well-Known Member
Sep 21, 2015
59
28
68
India
cPanel Access Level
Root Administrator