摘要:
ubuntu默认安装apache的命令 apt-get install apache2默认安装的prefork模式。其对应的配置<IfModulempm_prefork_module>StartServers5MinSpareServers5MaxSpareServers10MaxClients150MaxRequestsPerChild1000</IfModule>如果是worker模式,可以考虑如下配置<IfModulempm_worker_module>ServerLimit20ThreadLimit100StartServers3MaxClients 阅读全文