如何查看Apache当前的MPM模式?
<DIV>apache的工作模式主要分为prefork MPM 和 worker MPM</DIV><DIV>查看Apache当前的MPM模式<BR># httpd -V<BR>Server version: Apache/2.2.3<BR>Server built: Jan 11 2008 08:19:18<BR>Server's Module Magic Number: 20051115:3<BR>Server loaded: APR 1.2.7, APR-Util 1.2.7<BR>Compiled using: APR 1.2.7, APR-Util 1.2.7<BR>Architecture: 32-bit<BR><FONT color=#f00000>Server MPM: Prefork</FONT><BR> threaded: no<BR> forked: yes (variable process count)<BR>Server compiled with....<BR><FONT color=#f00000> -D APACHE_MPM_DIR="server/mpm/prefork"</FONT><BR> -D APR_HAS_SENDFILE<BR> -D APR_HAS_MMAP<BR> -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)<BR> -D APR_USE_SYSVSEM_SERIALIZE<BR> -D APR_USE_PTHREAD_SERIALIZE<BR> -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT<BR> -D APR_HAS_OTHER_CHILD<BR> -D AP_HAVE_RELIABLE_PIPED_LOGS<BR> -D DYNAMIC_MODULE_LIMIT=128<BR> -D HTTPD_ROOT="/etc/httpd"<BR> -D SUEXEC_BIN="/usr/sbin/suexec"<BR> -D DEFAULT_PIDLOG="logs/httpd.pid"<BR> -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"<BR> -D DEFAULT_LOCKFILE="logs/accept.lock"<BR> -D DEFAULT_ERRORLOG="logs/error_log"<BR> -D AP_TYPES_CONFIG_FILE="conf/mime.types"<BR> -D SERVER_CONFIG_FILE="conf/httpd.conf"</DIV>
<DIV># /usr/local/apache/bin/httpd -l<BR>Compiled in modules:<BR> core.c<BR><FONT color=#f00000> prefork.c</FONT><BR> http_core.c<BR> mod_so.c</DIV>
页:
[1]