不要追求绝对的公平,红尘之中没有公平而言,人活一世,难得糊涂。                                           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软件测试网b7w7^4v(x'g
1) heap sizes
.kZO/_$Z9q,@W%V02) number of jvms51Testing软件测试网2]v2ccH"Ct
3) number of jdbc connections
2s!}R8F,e04) heap pattern
E7gY#vS*o-I05) container threads
/| RH G['Fs'C:]06) web component connections should be equal to or less than the http server connections
5T[Z FZw]0... much more if these are not involved in the root cause ...51Testing软件测试网0nB#a3Ew v T'N

hl/Y B8Wd5sjL0Are these configured properly?51Testing软件测试网%zt_#H6c2K
Is there evidence of maxing out the heap and going beyond?51Testing软件测试网/X?R!a#D$x9L*n1Q9c
Is garbage collection running too frequently and for long periods of time?
[Oh8BZ'dH5Q0... and so on...51Testing软件测试网7Z({"ma$va u

gk` @dgR@0
'`r XoY#s0Footnote 1:
;v:^#G1z.HK'x0There 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软件测试网}y\bO0{;d,kT
1. How fast are these Vusers executing? (with or without think time)?
4t4P"m;g$m@.X02. Are the Vusers simulating a new user each iteration?51Testing软件测试网`7h'kU8Wq

:{ R8Zgc$@ N!gIi0Finally...51Testing软件测试网t-Y!_gvd3{S {$D
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软件测试网v ?|dYv2p
It appears that it is a bottleneck in the environment.51Testing软件测试网\7d!y!wWZ'O
I suggest the following:
f4Zj_\lY0M0Determine 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软件测试网3_b5AjhUgKI
If load-balancing is being used, what is the method? Are the Vusers being load-balanced properly? Do you need to use IP Spoofing?51Testing软件测试网x `9F5G-d.W(c
I recommend changing:51Testing软件测试网8e3K+^FLK7bd]
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.)
B0w"g&E?%spB0b) JDBC Max to 75, and51Testing软件测试网8Ejf*~ q9?
c) Consider using another JVM.
)I3?6qe lb051Testing软件测试网FU!wiki
Are the Vusers getting HTTP-500s?
Y"kh"x0B2BZ*Tq8@0Are you getting any premature connection shutdowns/closures?
'ezQU(C W0
E:Yy*S U.D.EH~0Note! At this point, the troubleshooting should involve some key technical people on your end. And, by far the largest point here…51Testing软件测试网|vhE&w;o
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软件测试网;EL$H;Q'cH8K

TAG:

 

评分:0

我来说两句

Open Toolbar