- 论坛徽章:
- 0
|
独立服务器,配置还算可以,win2003下新装Apache2.2, 访问量不大,每天1000IP左右,客户反映动不动就出现Service Temporarily Unavailable,以前用apache2.0的时候都没有这个问题的。不知道是怎么回事
配置文件中只修改过以下两个文件
apache-default.conf修改过的配置
Timeout 300
#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On
#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 512
#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 15
httpd-mpm.conf修改过的配置
<IfModule mpm_winnt_module>
ThreadsPerChild 128
MaxRequestsPerChild 10240
</IfModule>
[ 本帖最后由 vangzi 于 2009-3-12 15:15 编辑 ] |
|