2011年2月2日星期三

Calculating the max. clients by worker_connections

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

没有评论:

发表评论