- 论坛徽章:
- 0
|
我的机器是P4,2G内存。
系统是WIN2003SERVER。
已经对2003的最大连接数做了修改。
修改方法:zhidao.baidu.com/question/4842725.html
修改后2003的最大连接数为10240。
APACHE版本是2.0
现在的问题是,访问网站很慢。(带宽没有问题,CPU和内存占用都很低)
用netstat -se 查看
current connectons 在1000左右。
各位帮我看看瓶颈在哪里?
http.conf 部分如下:
#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 30
#
# 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 0
#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 5
##
## Server-Pool Size Regulation (MPM specific)
##
# 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 10240
MaxRequestsPerChild 0
#SendBufferSize 300000000
</IfModule>
................................. |
|