Welcome! Log In Create A New Profile

Advanced

max_clients and keep alive

Tristan Griffiths
May 17, 2009 07:54PM
Hello,

Trying to better understand the worker_processes and worker_connections
settings.

We have always run Nginx with worker_processes 4 and worker_connections
1024 on a dual Xeon 2.4GHz with Hyper Threading. In the documentation,
it suggests it is better to run worker_processes 2 and
worker_cpu_affinity 0101 1010 for a dual HTT machine but according to
the formula (max_clients = worker_processes * worker_connections) that
would effectively halve the connections we can support to clients and
backend servers.

We regularly see more than 2000 keep alive connections at any point in
time, so do keep alive connections count towards the maximum client
connections?

Thanks,

Tristan
Subject Author Posted

max_clients and keep alive

Tristan Griffiths May 17, 2009 07:54PM

Re: max_clients and keep alive

Maxim Dounin May 18, 2009 07:07AM

RE: max_clients and keep alive

Tristan Griffiths May 18, 2009 07:49PM

Re: max_clients and keep alive

anomalizer June 10, 2009 01:31PM

Re: max_clients and keep alive

Maxim Dounin June 10, 2009 05:07PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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