- 论坛徽章:
- 0
|
一到高蜂时WEB服务器访问很慢直到打不开页面,不知道是什么问题,捆饶我好几天了,下面是TOP的信息
top - 22:37:06 up 21:31, 1 user, load average: 176.84, 372.92, 295.15
Tasks: 2591 total, 1 running, 2590 sleeping, 0 stopped, 0 zombie
Cpu(s): 5.7%us, 4.0%sy, 0.0%ni, 0.6%id, 88.8%wa, 0.0%hi, 0.8%si, 0.0%st
Mem: 2065024k total, 2011192k used, 53832k free, 7180k buffers
Swap: 2048276k total, 1789040k used, 259236k free, 48924k cached
-------------------------------------
my.cnf
root@cd23-68 [~]# vi /etc/my.cnf
[mysqld]
set-variable = max_connections=10000
safe-show-database
wait_timeout=5
table_cache=512
query_cache_size = 128M
thread_cache_size = 128
key_buffer_size = 128M
read_buffer_size = 2M
thread_concurrency = 6
back_log = 384
-------------------------------------
apache httpd.conf
KeepAlive On
MaxKeepAliveRequests 1000
KeepAliveTimeout 20
<IfModule prefork.c>
ServerLimit 3000
StartServers 30
MinSpareServers 50
MaxSpareServers 100
MaxClients 2500
MaxRequestsPerChild 10000
</IfModule>
紧急求助,帮帮我吧。。。。
[ 本帖最后由 ken1984 于 2009-4-4 23:00 编辑 ] |
|