atom feed6 messages in ru.sysoev.nginxCalculating the max. clients by worke...
FromSent OnAttachments
Ryan ChanFeb 2, 2011 7:51 pm 
Antoine BONAVITAFeb 3, 2011 12:42 am 
Ryan ChanFeb 3, 2011 8:38 am 
Antoine BONAVITAFeb 3, 2011 12:29 pm 
mikisoNov 6, 2011 11:54 pm 
mikisoDec 8, 2011 8:51 pm 
Subject:Calculating the max. clients by worker_connections
From:Ryan Chan (ryan@gmail.com)
Date:Feb 2, 2011 7:51:17 pm
List:ru.sysoev.nginx

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?