HI,
I have a website with a high traffic.
And lately I noticed that some users, who mostly use o Google Chrome, but also with Mozilla Firefox have re-transmitted the same request several times. And this is giving us several problems, especially unnecessary resource allocation.
In the NGINX log several requests with the HTTP 499 error code are followed in an interval of a few seconds, being several in the same second. In some cases reaching more than one hundred repeated requests.
The main problem of this is that for each request php-fpm is processing the php code, and in some cases even with access to the database. Even after NGINX having returned the HTTP 499 error.
How can I get NGINX to stop processing php-fpm for this request after the client's browser has disconnected and generated the HTTP 499 error?
Thank you very much if anyone knows how to help me.
Anderson Onir