httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Don Hill <justj...@gmail.com>
Subject [users@httpd] worker.c config in prefork.c module
Date Tue, 16 Apr 2013 22:41:22 GMT
I am working on apache the following apache 2.2.15 server on redhat with
the prefork.c module compiled in(see below). I have noticed that there is
no <IfModule prefork.c> but there is one for <IfModule worker.c>

So will this worker config be used or revert to default prefork.c config?
Also the eyc/sysconfig/httpd has the worker line commented out

Here is the worker.c -  will this config even be used with the following
configuration

<IfModule worker.c>
#StartServers        1
StartServers        32
MaxClients          512
MinSpareThreads     1
MaxSpareThreads     512
#ThreadsPerChild     256
ThreadsPerChild     32
MaxRequestsPerChild 10000
</IfModule>




httpd -l
Compiled in modules:
  core.c
  prefork.c
  http_core.c
  mod_so.c

httpd -V
Server version: Apache/2.2.15 (Unix)
Server built:   Feb  7 2012 09:50:11
Server's Module Magic Number: 20051115:24
Server loaded:  APR 1.3.9, APR-Util 1.3.9
Compiled using: APR 1.3.9, APR-Util 1.3.9
Architecture:   64-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_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=128
 -D HTTPD_ROOT="/etc/httpd"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D DEFAULT_PIDLOG="run/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

Mime
View raw message