In the following environment where multiple Listen directives are defined, the 
number of child processes may temporarily fall below MinSpareThreads after 6 
requests are received at the same time and HTTP request processing is completed.
Is this a bug or a specification?

OS : Red Hat Enterprise Linux Server
MPM: worker

httpd.conf:
----------------------------------------------------
Listen 80
Listen 8080

ServerLimit             50
StartServers             5
MinSpareThreads          5
MaxSpareThreads         10
ThreadsPerChild          1
MaxRequestWorkers       50
MaxConnectionsPerChild   0
----------------------------------------------------

compile settings:
----------------------------------------------------
# /opt/apache24/bin/httpd -V
Server version: Apache/2.4.46 (Unix)
Server built:   Jan 15 2021 15:05:18
Server's Module Magic Number: 20120211:93
Server loaded:  APR 1.7.0, APR-UTIL 1.6.1
Compiled using: APR 1.7.0, APR-UTIL 1.6.1
Architecture:   64-bit
Server MPM:     worker
  threaded:     yes (fixed thread count)
    forked:     yes (variable process count)
Server compiled with....
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_PROC_PTHREAD_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=256
 -D HTTPD_ROOT="/opt/apache24"
 -D SUEXEC_BIN="/opt/apache24/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
----------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to