ThreadsPerChild和MaxRequestsPerChild设置多少合适
时间:2011-09-17
来源:互联网
我的机器是WIN系统用的apache
服务器配置是
intel(r) core(tm)2 duo cpu e7500 2.93ghz
4g内存
ThreadsPerChild和MaxRequestsPerChild设置多少合适呢
目前老是apache卡死,网站都打不开,服务器流量没有。。。
我设置的是
# WinNT MPM
# ThreadsPerChild: constant number of worker threads in the server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_winnt.c>
ThreadsPerChild 1024
MaxRequestsPerChild 10000
</IfModule>
还有我是不是不需要将这个面前的#注解掉的啊
服务器配置是
intel(r) core(tm)2 duo cpu e7500 2.93ghz
4g内存
ThreadsPerChild和MaxRequestsPerChild设置多少合适呢
目前老是apache卡死,网站都打不开,服务器流量没有。。。
我设置的是
# WinNT MPM
# ThreadsPerChild: constant number of worker threads in the server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_winnt.c>
ThreadsPerChild 1024
MaxRequestsPerChild 10000
</IfModule>
还有我是不是不需要将这个面前的#注解掉的啊
作者: seagood 发布时间: 2011-09-17
这个要计算的,对win下的apache不大了解。
我说的是Linux下的apahce
你要先计算每一个httpd请求大概占用多少内存,除去系统和其他程序占用的内存后,估计每秒请求数有多少,就可以计算出来了
我说的是Linux下的apahce
你要先计算每一个httpd请求大概占用多少内存,除去系统和其他程序占用的内存后,估计每秒请求数有多少,就可以计算出来了
作者: lmhllr 发布时间: 2011-09-17
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28