apache提高访问量配置
KeepAlive ON
<IfModule prefork.c>
StartServers 200 MinSpareServers 5 MaxSpareServers 20 ServerLimit 6500 MaxClients 6000 MaxRequestsPerChild 8000 </IfModule> # worker MPM 本文出自 51CTO.COM技术博客# StartServers: initial number of server processes to start # MaxClients: maximum number of simultaneous client connections # MinSpareThreads: minimum number of worker threads which are kept spare # MaxSpareThreads: maximum number of worker threads which are kept spare # ThreadsPerChild: constant number of worker threads in each server process # MaxRequestsPerChild: maximum number of requests a server process serves <IfModule worker.c> StartServers 400 MaxClients 300 MinSpareThreads 40 MaxSpareThreads 150 ThreadsPerChild 50 MaxRequestsPerChild 6000 </IfModule> |


rypts
博客统计信息
热门文章
最新评论
友情链接