Changes between Version 40 and Version 41 of DebianLamp


Ignore:
Timestamp:
Nov 21, 2009, 2:08:51 PM (11 years ago)
Author:
Vincent Caron
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DebianLamp

    v40 v41  
    113113=== Global configuration ===
    114114
    115 You may want to tune the worker MPM first. As usual, the {{{MaxClients}}} is the maximum number of simultaneous connections you may handle. The worker MPM achieve this result by using one thread per connection, and at most 16 processes. The trick is that {{{MaxClients}}} must be a multiple of {{{ThreadsPerChild}}}, because Apache computes {{{MaxClients/ThreadsPerChild}}} to get the number of processes to start.
     115You may want to tune the worker MPM first. As usual, the {{{MaxClients}}} is the maximum number of simultaneous HTTP connections you may handle. The worker MPM achieve this result by using one thread per connection, a bunch of threads per process and at most 16 processes. The trick is that {{{MaxClients}}} must be a multiple of {{{ThreadsPerChild}}}, because Apache computes {{{MaxClients / ThreadsPerChild}}} to get the number of processes to start.
    116116
    117117Apache has a safeguard limiting to 16 processes and 64 threads per processes but you can raise those limits with the proper directives. We can handle 1024 simultaneous connections with this sample configuration: