不要追求绝对的公平,红尘之中没有公平而言,人活一世,难得糊涂。                                           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软件测试网3V\Z^vcV
1) heap sizes
d y?lvU02) number of jvms
S6X+fUs6L$\03) number of jdbc connections
0] W|fzTD04) heap pattern
'Xq,lS1C05) container threads51Testing软件测试网 d!X [n+dtU
6) web component connections should be equal to or less than the http server connections51Testing软件测试网0k^){gwXbX_xT
... much more if these are not involved in the root cause ...
*VO.~%b X,W3I051Testing软件测试网fk&B i+LB1O?
Are these configured properly?51Testing软件测试网%c9bZ#~#G&f;UX`3V JC
Is there evidence of maxing out the heap and going beyond?
)WPQTw-|%p0Is garbage collection running too frequently and for long periods of time?
Cu'G;|)WO1a0... and so on...51Testing软件测试网sTa zWC*EK}!L

k(l#WHd*_D+t051Testing软件测试网/as1^.S1cXI;x
Footnote 1:
%Wd$nrdn0There 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...
:]K g1@V6Lh\!_01. How fast are these Vusers executing? (with or without think time)?
4CD,a ^@W3Q02. Are the Vusers simulating a new user each iteration?
|GV2O*@w4d051Testing软件测试网Gh;{lt*P1W#h
Finally...51Testing软件测试网F2G&o*`0|.?Q 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".51Testing软件测试网m{9IvS
It appears that it is a bottleneck in the environment.
~!t,vV.[2T0I suggest the following:51Testing软件测试网#m;|1\h NV
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.
}d!H"AaK^#?0If load-balancing is being used, what is the method? Are the Vusers being load-balanced properly? Do you need to use IP Spoofing?
i!RD_-f0I recommend changing:51Testing软件测试网 H.TQG V([5y`
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.)
J7e]o%q}$y4]$y0b) JDBC Max to 75, and51Testing软件测试网 L%V1yZ,R O/}
c) Consider using another JVM.
F'LP)cpeJL*J051Testing软件测试网&xS;Q{9t4F)LC"GY
Are the Vusers getting HTTP-500s?51Testing软件测试网Z;MH+z0Y#jm
Are you getting any premature connection shutdowns/closures?51Testing软件测试网XDo0N*\%rPL.S

x)?&n,a+yz{0Note! At this point, the troubleshooting should involve some key technical people on your end. And, by far the largest point here…51Testing软件测试网[:TL ~6o
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?
51Testing软件测试网Pl x Z}&kEV

TAG:

 

评分:0

我来说两句

Open Toolbar