注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 配置审核的实施
 帮助

apache提高访问量配置


2007-07-10 14:46:57
 标签:apache 访问量   [推送到技术圈]

KeepAlive ON
<IfModule prefork.c>
StartServers       200
 MinSpareServers    5
 MaxSpareServers   20
ServerLimit     6500
 MaxClients       6000
 MaxRequestsPerChild  8000
</IfModule>
# worker MPM
# 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>


上一篇 linux ulimit max open files  下一篇 URL编码



    文章评论
 
2007-07-11 09:40:23
这是提高负载,还是提高访问量啊?
如果仅仅是配置一下就能把访问量提上去,那可太牛了.

 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: