不要追求绝对的公平,红尘之中没有公平而言,人活一世,难得糊涂。                                           it is no use doing what you like, you have got to like what you do.

ERROR 263377

上一篇 / 下一篇  2007-06-04 18:11:28 / 个人分类:Mercury LoadRunner

每日随笔
  • 每日随笔:
f it is working in the LoadRunner scrīpt up to a point, then the problemprobably(see footnote 1 at end of post) exists in the system under test. Are you or anyone else monitoring the system under test? The first places to look would be at the web and app-servers:
A4i:w!a b2oD01) heap sizes
J@4c"yq-oP02) number of jvms
,b_1akU }03) number of jdbc connections51Testing软件测试网5V-i3L%R$[_I1d2h^
4) heap pattern
y~L8o"PR6[N G)w05) container threads51Testing软件测试网7u I-ZEj~ Jo7}
6) web component connections should be equal to or less than the http server connections51Testing软件测试网L8Ilj;d,C/F&u2P
... much more if these are not involved in the root cause ...51Testing软件测试网8R#S YP{'tYYz@

5tYi(S,n G)mz"]0Are these configured properly?
(X @;z!\4\$[0o.jQ0Is there evidence of maxing out the heap and going beyond?
:L@r5ewha2z0Is garbage collection running too frequently and for long periods of time?51Testing软件测试网po|&T!@n{p)i
... and so on...
\+DLZi\l.G+FD051Testing软件测试网)cYK(@0FK P~L
51Testing软件测试网g'C2zi,d'h$q
Footnote 1:
xmHul K0There is still a chance that you may be contributing to the issue on your end (not to say the sys-under-test is not the issue - and that it may require tuning or scalabiity work in 2 dimensions), depending upon the answers to the below questions AND the computing power/configuration of the servers-under-test...51Testing软件测试网4W#EU1p6_p*\
1. How fast are these Vusers executing? (with or without think time)?51Testing软件测试网`l;g8Vl E5_q"C o
2. Are the Vusers simulating a new user each iteration?51Testing软件测试网`7mY7MU;E:w7A@U
51Testing软件测试网6UT _&nuC$H$[ I5_
Finally...51Testing软件测试网8yrgEA7F
Increasing the web_set_max_html_param_len to 819200 is just not good - unless one has to deal with .NET and large cumbersome viewstates. Think about that value. Understand the impact of the RAM consumption by the Vusers. This is called "shooting oneself in the foot".51Testing软件测试网0d0K%ur2]1Pt\$K
It appears that it is a bottleneck in the environment.
lQiH Y1M^J @ R0I suggest the following:51Testing软件测试网.kP#KI)l tj'S*h
Determine how often and how long garbage collection is running. Monitoring by either LoadRunner, SiteScope, or tools used by the SysAdmins should be able to tell you that.51Testing软件测试网sO i:qr.D3X!k(\
If load-balancing is being used, what is the method? Are the Vusers being load-balanced properly? Do you need to use IP Spoofing?
EOI ?%z6`S0I recommend changing:51Testing软件测试网.|5GR"l-cKD
a) both JVMs to 256/768, (what is the reason they are different to begin with? Perhaps there is good reason - if not, change to recommended.)51Testing软件测试网!C$WnA5^2B!m(K0H/n
b) JDBC Max to 75, and51Testing软件测试网,spv}!p
c) Consider using another JVM.
zar^'mewL&a051Testing软件测试网8_O S-V;ve
Are the Vusers getting HTTP-500s?51Testing软件测试网 nm}klC
Are you getting any premature connection shutdowns/closures?51Testing软件测试网`\sT f9|:z

G$vaa1h&Vo4wdj l0Note! At this point, the troubleshooting should involve some key technical people on your end. And, by far the largest point here…
0@4P%Oc5N;H0What must the architecture support in terms of transactions and types per second? Are you perhaps putting a load on that goes well beyond what is required?

$^s0gL5AY0

TAG:

 

评分:0

我来说两句

Open Toolbar