Nginx worker_connections is configured too low resulting in 500 error cases

  • 2020-05-09 19:53:34
  • OfStack

A recent security training, need to use the security attack and defense platform, the results of more than 30 people login directly out of 500 errors. I don't know why, but later I found the login user and password of SSH, and found the configuration problem of Nginx worker_connections.

The original configuration of worker_connections in the Nginx configuration file was too low, only 50, resulting in a 500 error that exceeded the connections limit during the interaction with php-fpm. Simply changing the value of this parameter to 10240 solves the problem.


Related articles: