On 2011-08-17 16:55, Pratte, Gil wrote:
Then you want keepalive on and set high. Persistent connections to your backend are obviously beneficial. This depends on how many backend servers you have, but even with, say, 20 servers, and the default of 256 threads, this means you have 12 persistent connections per backend server. If the distribution is not equal(-ish), or worse, random, this will backfire.
Web servers do not log anything in.
You need to calculate average and burst requests per time period, and correlate that with your maximum client concurrency. (You also need average time per request for this). Enable and study server-status for detailed usage info.
Too many variables. Establish baselines, study usage patterns, and determine optimal settings. -- J. |