apache的mpm工作模式
2017-06-14 17:10
513 查看
查看Apache工作模式的命令是:
[root@qiangzi httpd-2.2.32]# /usr/local/apache2/bin/apachectl -M
[root@qiangzi ~]# /usr/local/apache2/bin/apachectl -M
Loaded Modules:
core_module (static)
authn_file_module (static)
authn_default_module (static)
authz_host_module (static)
authz_groupfile_module (static)
authz_user_module (static)
authz_default_module (static)
auth_basic_module (static)
include_module (static)
filter_module (static)
log_config_module (static)
env_module (static)
setenvif_module (static)
version_module (static)
mpm_prefork_module (static)
http_module (static)
mime_module (static)
status_module (static)
autoindex_module (static)
asis_module (static)
cgi_module (static)
negotiation_module (static)
dir_module (static)
actions_module (static)
userdir_module (static)
alias_module (static)
so_module (static)
deflate_module (shared)
expires_module (shared)
rewrite_module (shared)
Syntax OK
通过这个命令 也可以看到哪些模块的是动态,哪些是静态。其中以mpm-开头的就是Apache的mpm工作模式,2.2版本的httpd默认的mpm工作模式为prefork。除了prefork外,常见的工作模式还有worker。2.4版本的httpd默认是event工作模式。
工作模式区别:
http://www.cnblogs.com/fnng/archive/2012/11/20/2779977.html
[root@qiangzi httpd-2.2.32]# /usr/local/apache2/bin/apachectl -M
[root@qiangzi ~]# /usr/local/apache2/bin/apachectl -M
Loaded Modules:
core_module (static)
authn_file_module (static)
authn_default_module (static)
authz_host_module (static)
authz_groupfile_module (static)
authz_user_module (static)
authz_default_module (static)
auth_basic_module (static)
include_module (static)
filter_module (static)
log_config_module (static)
env_module (static)
setenvif_module (static)
version_module (static)
mpm_prefork_module (static)
http_module (static)
mime_module (static)
status_module (static)
autoindex_module (static)
asis_module (static)
cgi_module (static)
negotiation_module (static)
dir_module (static)
actions_module (static)
userdir_module (static)
alias_module (static)
so_module (static)
deflate_module (shared)
expires_module (shared)
rewrite_module (shared)
Syntax OK
通过这个命令 也可以看到哪些模块的是动态,哪些是静态。其中以mpm-开头的就是Apache的mpm工作模式,2.2版本的httpd默认的mpm工作模式为prefork。除了prefork外,常见的工作模式还有worker。2.4版本的httpd默认是event工作模式。
工作模式区别:
http://www.cnblogs.com/fnng/archive/2012/11/20/2779977.html
相关文章推荐
- 1.3 Apache的mpm工作模式
- LAMP--3.Apache 的 mpm 工作模式
- apache的MPM模块两种工作模式详解(多任务高并发)
- apache的MPM模块两种工作模式详解(多任务高并发)
- Apache 的动态静态编译 &工作模式MPM
- apache的MPM模块两种工作模式详解(prefork和worker)
- Apache的mpm工作模式
- MPM--apache的工作模式
- apache的MPM模块两种工作模式详解(prefork和worker)
- apache的MPM模块两种工作模式详解(prefork和worker)
- MPM--apache的工作模式
- apache的mpm工作模式
- 如何判断Apache服务器的工作模式
- apache两种工作模式
- apache两种工作模式区别及配置切换
- Apache的三种MPM模式及Worker模式配置
- apache两种工作模式详解
- apache工作模式详解
- apache的两种工作模式
- apache两种工作模式详解 prefork.c worker.c