mpm
Monday, September 9, 2019
5:38 PM
mpm_prefork_module mpm_worker_module mpm_event_module
mpm_netware_module mpm_mpmt_os2_module mpm_winnt_module mpm_netware_module
/opt/oracle/HTTPServer24/conf/extra/httpd-mpm.conf
|
||||||||||
|
<IfModule !mpm_netware_module> PidFile "logs/httpd.pid" </IfModule>
<IfModule mpm_prefork_module> StartServers 5 MinSpareServers 5 MaxSpareServers 5 MaxRequestWorkers 40 MaxConnectionsPerChild 5000 ServerLimit 10 </IfModule>
<IfModule mpm_worker_module> StartServers 5 MinSpareThreads 20 MaxSpareThreads 40 ThreadsPerChild 20 MaxRequestWorkers 40 MaxConnectionsPerChild 5000 ServerLimit 10 </IfModule>
<IfModule mpm_event_module> StartServers 20 MinSpareThreads 75 MaxSpareThreads 250 ThreadsPerChild 25 MaxRequestWorkers 1600 MaxConnectionsPerChild 0 </IfModule>
<IfModule mpm_netware_module> ThreadStackSize 65536 StartThreads 250 MinSpareThreads 25 MaxSpareThreads 250 MaxThreads 1000 MaxConnectionsPerChild 0 </IfModule>
<IfModule mpm_mpmt_os2_module> StartServers 2 MinSpareThreads 5 MaxSpareThreads 10 MaxConnectionsPerChild 0 </IfModule>
<IfModule mpm_winnt_module> ThreadsPerChild 150 MaxConnectionsPerChild 0 </IfModule>
<IfModule !mpm_netware_module> MaxMemFree 2048 </IfModule>
<IfModule mpm_netware_module> MaxMemFree 100 </IfModule> |
Directives that are implemented by more than one multi-processing module (MPM) 01 CoreDumpDirectory 02 EnableExceptionHook 03 GracefulShutdownTimeout 04 Listen 05 ListenBackLog 06 ListenCoresBucketsRatio 07 MaxConnectionsPerChild 08 MaxMemFree 09 MaxRequestWorkers 10 MaxSpareThreads 11 MinSpareThreads 12 PidFile 13 ReceiveBufferSize 14 ScoreBoardFile 15 SendBufferSize 16 ServerLimit 17 StartServers 18 StartThreads 19 ThreadLimit 20 ThreadsPerChild 21 ThreadStackSize |
oracle> httpd -l Compiled in modules: core.c mod_so.c http_core.c
List all modules: httpd -M
httpd -V: Server MPM: prefork threaded: no forked: yes (variable process count) |
|||||||
|
||||||||||
|
||||||||||
|
||||||||||
|
||||||||||
|
||||||||||
|
||||||||||
|
CoreDumpDirectory Directive Directory where Apache HTTP Server attempts to switch before dumping core CoreDumpDirectory directory
EnableExceptionHook Directive Enables a hook that runs exception handlers after a crash EnableExceptionHook On|Off
GracefulShutdownTimeout Directive Specify a timeout after which a gracefully shutdown server will exit. GracefulShutdownTimeout seconds
Listen Directive IP addresses and ports that the server listens to Listen [IP-address:]portnumber [protocol]
ListenBackLog Directive Maximum length of the queue of pending connections ListenBackLog backlog
ListenCoresBucketsRatio Directive Ratio between the number of CPU cores (online) and the number of listeners buckets ListenCoresBucketsRatio ratio
MaxConnectionsPerChild Directive Limit on the number of connections that an individual child server will handle during its life MaxConnectionsPerChild number
MaxMemFree Directive Maximum amount of memory that the main allocator is allowed to hold without calling free() MaxMemFree KBytes
MaxRequestWorkers Directive Maximum number of connections that will be processed simultaneously MaxRequestWorkers number
MaxSpareThreads Directive Maximum number of idle threads MaxSpareThreads number
MinSpareThreads Directive Minimum number of idle threads available to handle request spikes MinSpareThreads number
PidFile Directive File where the server records the process ID of the daemon PidFile filename
ReceiveBufferSize Directive TCP receive buffer size ReceiveBufferSize bytes
ScoreBoardFile Directive Location of the file used to store coordination data for the child processes ScoreBoardFile file-path
SendBufferSize Directive TCP buffer size SendBufferSize bytes
ServerLimit Directive Upper limit on configurable number of processes ServerLimit number
StartServers Directive Number of child server processes created at startup StartServers number
StartThreads Directive Number of threads created on startup StartThreads number
ThreadLimit Directive Sets the upper limit on the configurable number of threads per child process ThreadLimit number
ThreadsPerChild Directive Number of threads created by each child process ThreadsPerChild number
ThreadStackSize Directive The size in bytes of the stack used by threads handling client connections ThreadStackSize size |
|||||||||
|
Created with Microsoft OneNote 2016.