欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

apache2.2配置优化

程序员文章站 2022-05-07 18:01:15
...

vim打开httpd.conf,找到 Include conf/extra/httpd-mpm.conf, 去掉注释, vim打开httpd-mpm.conf,找到mpm_perfork_module IfModule mpm_prefork_module StartServers 200 MinSpareServers 100 MaxSpareServers 200 MaxRequestWorkers 800 MaxConnectionsPe

vim打开httpd.conf,找到Include conf/extra/httpd-mpm.conf,去掉注释,

vim打开httpd-mpm.conf,找到mpm_perfork_module


StartServers 200

MinSpareServers 100

MaxSpareServers 200

MaxRequestWorkers 800

MaxConnectionsPerChild 4000