Client browser generating many http errors 499
July 04, 2017 02:33PM
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
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 224
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready