Portál AbcLinuxu, 6. listopadu 2025 03:01
# prefork MPM [THIS IS THE DEFAULT]
< IfModule mpm_prefork_module>
# AcceptMutex fcntl
# CoreDumpDirectory /tmp
# EnableExceptionHook Off
# ListenBacklog 511
# LockFile logs/accept.lock
MaxClients 1024
# MaxMemFree 0
MaxRequestsPerChild 0
# PidFile /var/run/httpd.pid
# ReceiveBufferSize 0
# ScoreBoardFile logs/apache_runtime_status
# SendBufferSize 0
ServerLimit 1024
StartServers 20
MinSpareServers 5
MaxSpareServers 10
< /IfModule>
# worker MPM
# MaxSpareThreads: Maximum number of idle threads
# MinSpareThreads: Minimum number of idle threads available to handle request spikes
# ThreadLimit: Sets the upper limit on the configurable number of threads per child process
# ThreadsPerChild: Number of threads created by each child process
# ThreadStackSize: The size in bytes of the stack used by threads handling client connections
< IfModule mpm_worker_module>
#AcceptMutex fcntl
#CoreDumpDirectory /tmp
#EnableExceptionHook Off
#ListenBacklog 511
#LockFile logs/accept.lock
MaxClients 1024
#MaxMemFree 0
MaxRequestsPerChild 0
MaxSpareThreads 75
MinSpareThreads 25
#PidFile /var/run/httpd.pid
#ReceiveBufferSize 0
# ScoreBoardFile logs/apache_runtime_status
#SendBufferSize 0
ServerLimit 1024
StartServers 20
#ThreadLimit 64
ThreadsPerChild 25
#ThreadStackSize 32768
< /IfModule>
# event MPM
< IfModule mpm_event_module>
# AcceptMutex fcntl
# CoreDumpDirectory /tmp
# EnableExceptionHook Off
# ListenBacklog 511
# LockFile logs/accept.lock
# MaxClients 256
# MaxMemFree 0
MaxRequestsPerChild 1000
MaxSpareThreads 75
MinSpareThreads 25
# PidFile /var/run/httpd.pid
# ReceiveBufferSize 0
# ScoreBoardFile logs/apache_runtime_status
# SendBufferSize 0
#ServerLimit 256
StartServers 20
#ThreadLimit 64
ThreadsPerChild 25
#ThreadStackSize 32768
< /IfModule>
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.