|Description:||Multi-Processing Module optimized for Windows NT.|
This Multi-Processing Module (MPM) is the default for the Windows NT operating systems. It uses a single control process which launches a single child process which in turn creates threads to handle requests
Capacity is configured using the
ThreadsPerChild directive, which sets the maximum number of concurrent client connections.
By default, this MPM uses advanced Windows APIs for accepting new client connections. In some configurations, third-party products may interfere with this implementation, with the following messages written to the web server log:
Child: Encountered too many AcceptEx faults accepting client connections. winnt_mpm: falling back to 'AcceptFilter none'.
The MPM falls back to a safer implementation, but some client requests were not processed correctly. In order to avoid this error, use
AcceptFilter with accept filter
AcceptFilter http none AcceptFilter https none
In Apache httpd 2.0 and 2.2,
Win32DisableAcceptEx was used for this purpose.
The WinNT MPM differs from the Unix MPMs such as worker and event in several areas:
MaxConnectionsPerChild, active requests in the exiting process have
TimeOutseconds to finish before processing is aborted. Alternate types of restart and shutdown are not implemented.
MaxConnectionsPerChild, any pending changes to the configuration will become active in the child at that point, and the parent and child will be using a different configuration. If planned configuration changes have been partially implemented and the current configuration cannot be parsed, the replacement child process cannot start up and the server will halt. Because of this behavior, configuration files should not be changed until the time of a server restart.
fatal_exceptionhooks are not currently implemented.
AcceptFilteris implemented in the MPM and has a different type of control over handling of new connections. (Refer to the
AcceptFilterdocumentation for details.)
© 2018 The Apache Software Foundation
Licensed under the Apache License, Version 2.0.