Lot of nginx restart failed emails (Nginx config is OK)

I am receiving a lot of emais from admin account alerting about nginx restart failed.
But nginx config is OK.
In fact the email body says:

nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

One important thing: i have more than 800 web domains currently active in the server.
Maybe there is a timeout for restarting nginx that i can adjust somewhere.

Why is it restarting very x min ? Maybe more important question

You are right.
I cant figure it out, it still tries to restart every X minutes. But this issue is random, not all the time.
I am seeing the error log full of this lines:

2021-11-10 10:10:03 v-restart-web ‘ssl’ [Error 20]
2021-11-10 10:10:40 v-restart-service ‘nginx’ ‘ssl’ [Error 20]

Do you see something in system.log around the same timestamp?

@ramirojoaquin Nginx + PHP-FPM?

I think I have found a bug in v-restart-web…

Hmm did some more investigating due to an other bug in Hestia and a a lot of “not” requiered restarts in with nginx when it was really not needed…