php+mysql写的统计系统,现在有大问题,请帮忙想想什么问题。 [问题点数:0分]
不显示删除回复 显示所有回复 显示星级回复 显示得分回复 只显示楼主
状况是:服务器出现大批
tcp 0 0 61.x.x.x:80 218.1.114.18:1430 TIME_WAIT
tcp 0 0 61.x.x.x:80 219.140.156.58:2525 TIME_WAIT
tcp 0 0 61.x.x.x:80 61.179.111.129:44306 TIME_WAIT
tcp 0 0 61.x.x.x:80 61.136.252.170:64977 TIME_WAIT
tcp 0 0 61.x.x.x:80 24.157.90.237:11429 TIME_WAIT
tcp 0 0 61.x.x.x:80 219.232.182.87:3961 TIME_WAIT
tcp 0 0 61.x.x.x:80 61.179.125.228:12069 TIME_WAIT
这种连接:
unix 3 [ ] STREAM CONNECTED 79709948 /var/lib/mysql/mysql.sock
unix 3 [ ] STREAM CONNECTED 79709829
unix 3 [ ] STREAM CONNECTED 79709827 /var/lib/mysql/mysql.sock
unix 3 [ ] STREAM CONNECTED 79709825
unix 3 [ ] STREAM CONNECTED 79709826 /var/lib/mysql/mysql.sock
unix 3 [ ] STREAM CONNECTED 79709823
unix 3 [ ] STREAM CONNECTED 79709821 /var/lib/mysql/mysql.sock
unix 3 [ ] STREAM CONNECTED 79709819
也有很多
请问怎么优化呢?
这个系统配置是P4 2.4G+1Gddr+18GSCSI+100Mb带宽
是程序问题还是其它什么问题?
刚查负载达到:
[root@host007 root]# uptime
11:28:27 up 11 days, 17:51, 1 user, load average: 16.82, 11.76, 11.47
--转自