Tuning upstream keepalive parameter

CJ Ess zxcvbn4038 at gmail.com
Thu Nov 5 05:55:36 UTC 2015

So I'm looking for some advice on determining an appropriate number for the
keepalive parameter within an upstream stanza.

They server processes ~3000 requests per second, and haproxy is the single
upstream destination. Dividing by the request rate by the number of
processors (workers) I'm thinking that maybe 256 is a good starting number
for the max keepalives.

Is that realistic? Or should I be looking at a fraction of that number?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20151105/025d7fc4/attachment.html>

More information about the nginx mailing list