<-
Apache > HTTP Server > Documentation > Version 2.2 > Modules

Apache MPM winnt

Description:This Multi-Processing Module is optimized for Windows NT.
Status:MPM
Module Identifier:mpm_winnt_module
Source File:mpm_winnt.c

Summary

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

Directives

top

ServiceDescription Directive

Description:Appends to the description of the Windows service.
Syntax:ServiceDescription desc
Context:server config
Status:MPM
Module:mpm_winnt
Compatibility:Available in IBM HTTP Server 8.5.5.16 and later.

This directive will append desc to the end of the default description of the Windows service set by the server.

The following variables, along with other environment variables, can be referenced:

IHS_CONF
The config file loaded by the server.
IHS_CONF_ABS
The absolute path of the config file loaded by the server.

Including the loaded config file in the service description

The config path can be included in the service description using the expressions ${IHS_CONF} or ${IHS_CONF_ABS}.

top

Win32DisableAcceptEx Directive

Description:Use accept() rather than AcceptEx() to accept network connections
Syntax:Win32DisableAcceptEx
Default:AcceptEx() is enabled by default. Use this directive to disable use of AcceptEx()
Context:server config
Status:MPM
Module:mpm_winnt
Compatibility:Available in Version 2.0.49 and later

AcceptEx() is a Microsoft WinSock v2 API that provides some performance improvements over the use of the BSD style accept() API in certain circumstances. Some popular Windows products, typically virus scanning or virtual private network packages, have bugs that interfere with the proper operation of AcceptEx(). If you encounter an error condition like:

[error] (730038)An operation was attempted on something that is not a socket.: winnt_accept: AcceptEx failed. Attempting to recover.

you should use this directive to disable the use of AcceptEx().