nginx service restarted after a particular interval.
On checking the
/var/log/monit.log, we are getting the following errors:
[EET Feb 6 16:58:24] GENERIC: error receiving data -- Resource temporarily unavailable [EET Feb 6 16:58:24] 'nginx' failed protocol test [generic] at INET[203.0.113.2:80]. [EET Feb 6 16:58:24] 'nginx' trying to restart [EET Feb 6 16:58:24] 'nginx' stop: /opt/psa/admin/bin/nginx_control [EET Feb 6 16:58:25] 'nginx' start: /opt/psa/admin/bin/nginx_control
Short connection timeout value.
connection timeout value for particular service in Extension -> Watchdog