I would say “and nginx uses the fds (file descriptors) from the same
pool to
connect to the upstream backen” (wiki quote). But that should be 2, not
4: I
agree with you on this.
If any of the gurus out there could shed light on this, I’m sure a lot
of us
would appreciate.
So, if you have 2 per browser, it’s normal to have 4 in reverse proxy.
Basically, the reverse proxy uses one connection to the backend for each
connection to the browser. And since all connections come from the same
pool,
the 4 makes sense.
A.
----- Original Message ----
since every browser opens 2 connections by default,
On Thu, Feb 3, 2011 at 4:43 PM, Antoine BONAVITA [email protected] wrote:
I would say “and nginx uses the fds (file descriptors) from the same pool
to
connect to the upstream backen” (wiki quote). But that should be 2, not 4:
I
agree with you on this.
If any of the gurus out there could shed light on this, I’m sure a lot of
us
Finally we found both Outlook & Thunderbird uses 6 connections for 1
client.
So the formula can be :
max_clients = worker_processes * worker_connections / 6
for mail proxy .
I don’t know if this should be described in the wiki page though…
Regarding max clients , I understand it’s normal to have 4 in reverse
proxy
since browser uses 2 connections in HTTP 1.1.
How about mail reverse proxy?
It seems POP command from telnet client uses 4 also, although I couldn’t
find
POP3 uses more than 1 connection in RFC 1939.
Regards,
Soichiro
Posted at Nginx Forum:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.