ITeye博客

Apache

共 2 篇文章

Apache prefork configuration and explaination

(一)prefork模式下(其他模式下不适用), apache 需要优化的主要参数: ServerLimit 3000 StartServers 750 MinSpareServers 5 MaxSpareServers 100 MaxClients 3000 MaxRequestsPerChild 10000 首先来看看apache各个参数的意义(引号里引用的是官方文档的描述): (1)ServerLimit和MaxClients 服务器最大同时响应请求数 这个就是你当前配置的apache最大的并发响应数,对应的是apache的进程数,两个参数同时修改,MaxClients不得大于Serv…

2015-04-16 14:57 · Apache

Apache Optimization

Multi-Processing Module (MPM) implements a hybrid multi-process multi-threaded server。(多进程、多线程) 大致有:prefork MPM、worker MPM、BeOS MPM、NetWare MPM、OS/2 MPM、WinNT MPM。 linux及windows下都可以使用命令:“httpd -l ” 进行查询。 各个MPM是工作及及优化 (1)prefork MPM <IfModule mpm_prefork_module> StartServers 10 MinSpareServers 10 Ma…

2015-03-27 16:31 · Apache