不要追求绝对的公平,红尘之中没有公平而言,人活一世,难得糊涂。                                           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:51Testing软件测试网'jvg*f7LfVJa
1) heap sizes
BQ ['z ] hE9Q02) number of jvms51Testing软件测试网4sh2Lwz*o1L
3) number of jdbc connections51Testing软件测试网k~,j f'R+n
4) heap pattern51Testing软件测试网3I"rK!}$r
5) container threads51Testing软件测试网@"z&lD0vu-f;Z9Qn/O
6) web component connections should be equal to or less than the http server connections
T1D3p&c~6fi+H ttw0... much more if these are not involved in the root cause ...
%pF%`+s*M2cR0
e4f5RR'SGs'H4V;mw0Are these configured properly?
.i1I jyG Ak3s0Is there evidence of maxing out the heap and going beyond?
:S&a%~*|:KI0z0Is garbage collection running too frequently and for long periods of time?
)AI7Nj;S0... and so on...51Testing软件测试网H+d(A&rN

#F?[!j'd$s3L0
|^bs(u}w}I0@-w0Footnote 1:51Testing软件测试网Bm.n*ll m8i^
There 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软件测试网#r6o3b$hs L,@r6K
1. How fast are these Vusers executing? (with or without think time)?51Testing软件测试网ny&q7DT }:iK
2. Are the Vusers simulating a new user each iteration?
'IJHe B"uy0
n#zde8fB:[AAV*Tw0Finally...51Testing软件测试网Ccuu]MX.MW B
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".
!{_X7} L@*`]K0
It appears that it is a bottleneck in the environment.51Testing软件测试网L/g7M1g4w8BrH
I suggest the following:51Testing软件测试网 O%Qi3R`+U&xy4_
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软件测试网,w/t}s4\s$Q{/J
If load-balancing is being used, what is the method? Are the Vusers being load-balanced properly? Do you need to use IP Spoofing?
5G*Mc*Ch0D+T,W0I recommend changing:51Testing软件测试网:PNv!n8}/H^
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软件测试网:[)Zm0_l
b) JDBC Max to 75, and
~u$?`4m{^+o0c) Consider using another JVM.
;ph5X:hhv051Testing软件测试网(z H5TV }Sz+e9C
Are the Vusers getting HTTP-500s?
"|$R%L"R3fl0Are you getting any premature connection shutdowns/closures?
g%kX2q^ N1^&`"y051Testing软件测试网V%L8X#_f.Y*d)kr
Note! At this point, the troubleshooting should involve some key technical people on your end. And, by far the largest point here…51Testing软件测试网 z+a*q1Qwo$T"v
What 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?

] @D? a~x0

TAG:

 

评分:0

我来说两句

Open Toolbar