Hi All,
Iam doing the loadtest on one of our web application deployed on tomcat. Both
Tomcat and Jmeter are running on a very high end machines (4-proc 3 GB RAM
machine and 2-proc 1.5 GB machines respectivelhy).
When Iam running a particular test whose structure would be like
ThreadGrp
|____RequestUserAuthentication (which takes ID and PWD as params)
|____MainPage (which is shown to valid users)
|____MainPageSub (Some page loaded into sub frame of main page)
|____LoopController (forever set)
|___Page1.jsp (bcoz of timer Page1 Called after 1 min of mainpage)
|___ConstantTimer(Delay set as 60000)
|____InterLeaveController
|___OnlyOnce Controller
|___Page2.jsp
|___OnlyOnce Controller
|___Page3.jsp
|___OnlyOnce Controller
|___Page4.jsp
When I ran this test with thread count = 1000 and rampup period =200 seconds,
I started seeing errors in Jmeter after some 865 requests are sent to mainpage
and MainPageSub (all 1000 requests are sent to RequestUserAuthentication)
(these request counts are according to Aggregate Report Listener)
Following is the error shown in Jmeter (Tree listener)
java.io.IOException: Stream closed
at java.io.BufferedInputStream.ensureOpen(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(HTTPSampler.java:263)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:496)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:590)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:578)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:281)
at java.lang.Thread.run(Unknown Source)
But I let the test continue like that even Iam seeing errors, then after a
while i saw a java.lang.OutOfMemoryError in tomcat
When I manually stopped the test and jmeter is still stopping the threads ,
tomcat started giving out following error messages
SEVERE: Caught exception (java.lang.OutOfMemoryError) executing org.apache.tomca
[EMAIL PROTECTED], terminating thread
Jun 30, 2005 3:13:15 PM org.apache.tomcat.util.threads.ThreadPool$ControlRunnabl
e run
SEVERE: Caught exception (java.lang.OutOfMemoryError) executing org.apache.tomca
[EMAIL PROTECTED], terminating thread
Jun 30, 2005 3:13:18 PM org.apache.tomcat.util.threads.ThreadPool$ControlRunnabl
e run
SEVERE: Caught exception (java.lang.OutOfMemoryError) executing org.apache.tomca
[EMAIL PROTECTED], terminating thread
Jun 30, 2005 3:13:44 PM org.apache.tomcat.util.threads.ThreadPool$ControlRunnabl
e run
..................
I cant understand what should I conclude from this --
whether jmeter is unable to create and maintain somuch load or
tomcat is unable to handle so many requests
Point to note here is test ran successfully with thread count=50 and ramp-up =
100 seconds
any help / input in this would be appreciated
regards
Srikanth.P
---------------------------------
Free antispam, antivirus and 1GB to save all your messages
Only in Yahoo! Mail: http://in.mail.yahoo.com