Welcome! Log In Create A New Profile

Advanced

Calculating the max. clients by worker_connections

Ryan Chan
February 02, 2011 10:56PM
In the wiki (http://wiki.nginx.org/EventsModule#worker_connections), it said:

-----------------
The worker_connections and worker_proceses from the main section
allows you to calculate maxclients value:

max_clients = worker_processes * worker_connections

In a reverse proxy situation, max_clients becomes

max_clients = worker_processes * worker_connections/4

Since a browser opens 2 connections by default to a serve...
-----------------

Why only in reverse proxy mode, the max clients is it divided by 4,
but not divided by 2 as normal web server?

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Calculating the max. clients by worker_connections

Ryan Chan February 02, 2011 10:56PM

Re: Calculating the max. clients by worker_connections

Antoine BONAVITA February 03, 2011 03:48AM

Re: Calculating the max. clients by worker_connections

Ryan Chan February 03, 2011 11:42AM

Re: Calculating the max. clients by worker_connections

Antoine BONAVITA February 03, 2011 03:34PM

Re: Calculating the max. clients by worker_connections

mikiso November 07, 2011 02:55AM

Re: Calculating the max. clients by worker_connections

mikiso December 08, 2011 11:52PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 191
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