Apahce 工作模式配置

1、查看当前MPM工作模式

/usr/local/apache2/bin/apachectl -V

Server version: Apache/2.4.27 (Unix)
Server built:   Dec 24 2017 07:11:28
Server's Module Magic Number: 20120211:68
Server loaded:  APR 1.6.3, APR-UTIL 1.6.1
Compiled using: APR 1.6.3, APR-UTIL 1.6.1
Architecture:   32-bit
# MPM模式
Server MPM:     event
  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_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=256
 -D HTTPD_ROOT="/usr/local/apache2"
 -D SUEXEC_BIN="/usr/local/apache2/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"
查看MPM模式

相关文章:

  • 2022-12-23
  • 2021-06-05
  • 2022-12-23
  • 2021-05-14
  • 2022-12-23
  • 2021-08-19
  • 2021-09-07
猜你喜欢
  • 2021-08-13
  • 2021-12-02
  • 2021-09-01
  • 2021-09-24
  • 2021-10-28
  • 2022-12-23
  • 2021-05-28
相关资源
相似解决方案