51Testing软件测试论坛
标题:
大家帮忙分析一下web服务器情况
[打印本页]
作者:
liyoukebit
时间:
2006-12-4 22:42
标题:
大家帮忙分析一下web服务器情况
<P>图片为测试结果统计图,通过Jmeter三个客户端分别发起100个线程,模拟不同的用户,也就是说理想状态应该同时有300个连接。但是统计web服务器的数据如下</P>
<P>IP地址和连接数(可见图)</P>
<P>22:10:51 <BR>22:10:53 192.9.100.220 6 192.9.100.21 3 <BR>22:10:55 192.9.100.220 6 192.9.100.21 6 <BR>22:10:57 192.9.100.220 8 192.9.100.21 45 192.9.100.42 6<BR>22:10:59 192.9.100.220 9 192.9.100.21 19 192.9.100.42 7<BR>22:11:01 192.9.100.220 9 192.9.100.21 14 192.9.100.42 7<BR>22:11:04 192.9.100.220 10 192.9.100.21 6 192.9.100.42 7<BR>22:11:06 192.9.100.220 9 192.9.100.21 6 192.9.100.42 8<BR>22:11:08 192.9.100.220 13 192.9.100.21 9 192.9.100.42 7<BR>22:11:10 192.9.100.220 9 192.9.100.21 10 192.9.100.42 10<BR>22:11:12 192.9.100.220 11 192.9.100.21 11 192.9.100.42 11<BR>22:11:14 192.9.100.220 11 192.9.100.21 11 192.9.100.42 13<BR>22:11:17 192.9.100.220 10 192.9.100.21 12 192.9.100.42 17<BR>22:11:19 192.9.100.220 10 192.9.100.21 13 192.9.100.42 21<BR>22:11:21 192.9.100.220 18 192.9.100.21 16 192.9.100.42 20<BR>22:11:23 192.9.100.220 19 192.9.100.21 16 192.9.100.42 23<BR>22:11:25 192.9.100.220 13 192.9.100.21 16 192.9.100.42 23<BR>22:11:27 192.9.100.220 15 192.9.100.21 16 192.9.100.42 23<BR>22:11:30 192.9.100.220 18 192.9.100.21 16 192.9.100.42 23<BR>22:11:32 192.9.100.220 14 192.9.100.21 16 192.9.100.42 17<BR>22:11:34 192.9.100.220 14 192.9.100.21 11 192.9.100.42 17<BR>22:11:36 192.9.100.220 14 192.9.100.21 11 192.9.100.42 17<BR>22:11:38 192.9.100.220 14 192.9.100.21 11 192.9.100.42 17<BR>22:11:40 192.9.100.220 10 192.9.100.21 11 192.9.100.42 17<BR>22:11:42 192.9.100.220 10 192.9.100.21 11 192.9.100.42 17<BR>22:11:44 192.9.100.220 10 192.9.100.21 11 192.9.100.42 17<BR>22:11:47 192.9.100.220 10 192.9.100.21 11 192.9.100.42 17<BR>22:11:49 192.9.100.220 10 192.9.100.21 11 192.9.100.42 17<BR>22:11:51 192.9.100.220 10 192.9.100.21 11 192.9.100.42 17<BR>22:11:53 192.9.100.220 10 192.9.100.21 11 192.9.100.42 17<BR>22:11:55 192.9.100.220 10 192.9.100.21 11 192.9.100.42 17<BR>22:11:57 192.9.100.220 9 192.9.100.21 11 192.9.100.42 17<BR>22:11:59 192.9.100.220 8 192.9.100.21 11 192.9.100.42 16<BR>22:12:02 192.9.100.220 7 192.9.100.21 11 192.9.100.42 16<BR>22:12:04 192.9.100.220 7 192.9.100.21 11 192.9.100.42 16<BR>状态统计图如下(可见图)</P>
<P>22:10:51 <BR>22:10:53 ESTABLISHED 10<BR>22:10:55 TIME_WAIT 1 ESTABLISHED 11<BR>22:10:57 TIME_WAIT 2 ESTABLISHED 57<BR>22:10:59 TIME_WAIT 4 ESTABLISHED 31<BR>22:11:01 TIME_WAIT 4 ESTABLISHED 26<BR>22:11:04 TIME_WAIT 4 ESTABLISHED 21<BR>22:11:06 TIME_WAIT 4 ESTABLISHED 19<BR>22:11:08 TIME_WAIT 9 ESTABLISHED 23<BR>22:11:10 TIME_WAIT 11 ESTABLISHED 18<BR>22:11:12 TIME_WAIT 15 ESTABLISHED 18<BR>22:11:14 TIME_WAIT 19 ESTABLISHED 16<BR>22:11:17 TIME_WAIT 21 ESTABLISHED 18<BR>22:11:19 TIME_WAIT 26 ESTABLISHED 18<BR>22:11:21 TIME_WAIT 28 ESTABLISHED 26<BR>22:11:23 TIME_WAIT 32 ESTABLISHED 26<BR>22:11:25 TIME_WAIT 35 ESTABLISHED 17<BR>22:11:27 TIME_WAIT 36 ESTABLISHED 18<BR>22:11:30 TIME_WAIT 36 ESTABLISHED 21<BR>22:11:32 TIME_WAIT 36 ESTABLISHED 11<BR>22:11:34 TIME_WAIT 38 ESTABLISHED 4<BR>22:11:36 TIME_WAIT 38 ESTABLISHED 4<BR>22:11:38 TIME_WAIT 38 ESTABLISHED 4<BR>22:11:40 TIME_WAIT 38 <BR>22:11:42 TIME_WAIT 38 <BR>22:11:44 TIME_WAIT 38 <BR>22:11:47 TIME_WAIT 38 <BR>22:11:49 TIME_WAIT 38 <BR>22:11:51 TIME_WAIT 38 <BR>22:11:53 TIME_WAIT 38 <BR>22:11:55 TIME_WAIT 38 <BR>22:11:57 TIME_WAIT 36 <BR>22:11:59 TIME_WAIT 35<BR>22:12:02 TIME_WAIT 34<BR>22:12:04 TIME_WAIT 34</P>
<P>请问是Jmeter不能模拟300个客户端不成功,还是服务器最大连接数只能达到60个并发访问</P>
作者:
liyoukebit
时间:
2006-12-4 22:45
标题:
补充图
补充图
作者:
liyoukebit
时间:
2006-12-4 22:48
标题:
补充图
补充图
作者:
liyoukebit
时间:
2006-12-8 22:27
jackei 你好,很感谢,你跟大伙分享的心得体会。我在工作遇到一个问题,想和你讨论一下:
前不久我用Jmeter 3 Agent, 1 Contrl 模拟300个并发进程进行测试,结果测试通过了。后来改用LoadRunner 模拟300个并发进程对同一server进行测试,服务器59sec时候挂掉了,查看日志,连接池超过150个,导致Java虚拟机挂了。by the way,我查看了网络连接的日志,jmeter模拟并发连接数,峰值大约是60个。
http://bbs.51testing.com/thread-50486-1-1.html
所以我对Jmeter 分布测试的可靠性表示怀疑,不知你有没有做过相关的比较和验证。
作者:
jackei
时间:
2006-12-9 21:43
标题:
已回复 ^_^
http://www.cnblogs.com/jackei/archive/2006/09/14/504638.aspx
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2