Nginx Tuning

guruprasads nginx-forum at
Tue Jul 4 08:01:44 UTC 2017


I am trying to tune nginx server.
I want to restrict number of client connection per server and restrict
I tried 
worker_connections 2; 
for max connections in nginx.conf file. 
but its connecting only after worker_connection value set to 7.

my conf file look like below.

user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log;
pid /run/;

# Load dynamic modules. See /usr/share/nginx/README.dynamic.
include /usr/share/nginx/modules/*.conf;

events {
    worker_connections 7;


Posted at Nginx Forum:,275276,275276#msg-275276

More information about the nginx mailing list