jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: Error in jmeter.log
Date Fri, 13 Apr 2012 22:17:39 GMT
Hi
Like all JVM tuning questions - i cant give you a value , you can try and
see what works in your context
http://www.oracle.com/technetwork/java/hotspotfaq-138619.html tells you
some of the default stack size values .

You increase it from default (for your OS) and see if it fixes the problem.
The con of increasing stack size is that since it is per thread , the more
you increase this value , the fewer the number of threads you can run (for
the same memory)

>SOAP request and XPATH assestations
Doesnt look that way from the stack trace. It might be something to do with
the structure of your test exposing a jmeter bug as well.

regards
deepak

On Fri, Apr 13, 2012 at 1:20 PM, Toni Menendez Lopez <tonimenen@gmail.com>wrote:

> This is my JVM running :
>
> mcm      25241 25233 99 23:03 ?        00:14:29 java -server
> -XX:+HeapDumpOnOutOfMemoryError -Xms2g -Xmx2g -XX:NewSize=128m
> -XX:MaxNewSize=128m -XX:MaxTenuringThreshold=2
> -Dsun.rmi.dgc.client.gcInterval=600000
> -Dsun.rmi.dgc.server.gcInterval=600000 -XX:PermSize=64m
> -XX:MaxPermSize=64m -jar
> /opt/LoadTests/Scenarios/../../jakarta-jmeter-2.5/bin/ApacheJMeter.jar
> -n -Jthread_loops=-1 -Jthreads=4 -Jramp_up=4 -Jmcm_host=135.248.3.78
> -Jmcm_port=80 -Jthroughput=150 -Jduration=900 -JNBLoops=1 -t
> ../../../HADelivery.jmx
>
> So I have 2g of memory, can you tell me a good value fog Xss ?
>
> This occurrs when I shutdown a server, which means some request are
> not anwer any more.
>
> Complexity of the SCenario is very basic, SOAP request and XPATH
> assestations.
>
> Toni.
>
> 2012/4/12, Deepak Shetty <shettyd@gmail.com>:
> > try increasing the value of -Xss for the java VM (on *nix you will also
> > have to increase ulimit -s)
> > (the other possibility for a stackoverflowerror is that you have
> recursive
> > calls somewhere so it might be a bug)
> >
> > regards
> > deepak
> >
> > On Thu, Apr 12, 2012 at 5:09 AM, Toni Menendez <tonimenen@gmail.com>
> wrote:
> >
> >>  Hello all,
> >>
> >> I am doing some High Availability tests against 2 servers in loadbancing
> >> sending some load, and wheh I shutdown a server down, Jmeter send these
> >> errors in jmeter.log
> >>
> >>
> >> 2012/04/12 15:04:10 INFO  - jmeter.threads.JMeterThread: Thread
> finished:
> >> Thread Group 1-4
> >> 2012/04/12 15:04:10 INFO  - jmeter.engine.StandardJMeterEngine: Ending
> >> thread Thread Group 1-4
> >> 2012/04/12 15:04:10 ERROR - jmeter.threads.JMeterThread: Test failed!
> >> java.lang.StackOverflowError
> >>         at java.lang.String.indexOf(String.java:1521)
> >>         at java.lang.ClassLoader.checkName(ClassLoader.java:775)
> >>         at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:947)
> >>         at java.lang.ClassLoader.loadClass(ClassLoader.java:291)
> >>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> >>         at
> >>
> org.mozilla.javascript.DefiningClassLoader.loadClass(DefiningClassLoader.java:72)
> >>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> >>         at java.lang.Class.getDeclaredConstructors0(Native Method)
> >>         at
> java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
> >>         at java.lang.Class.getConstructor0(Class.java:2699)
> >>         at java.lang.Class.newInstance0(Class.java:326)
> >>         at java.lang.Class.newInstance(Class.java:308)
> >>         at
> >>
> org.mozilla.javascript.optimizer.Codegen.createScriptObject(Codegen.java:83)
> >>         at org.mozilla.javascript.Context.compileImpl(Context.java:2280)
> >>         at
> org.mozilla.javascript.Context.compileString(Context.java:1284)
> >>         at
> org.mozilla.javascript.Context.compileString(Context.java:1273)
> >>         at
> >> org.mozilla.javascript.Context.evaluateString(Context.java:1129)
> >>         at
> >>
> org.apache.jmeter.control.IfController.evaluateCondition(IfController.java:110)
> >>         at
> >> org.apache.jmeter.control.IfController.next(IfController.java:167)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:187)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:229)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> >>         at
> >> org.apache.jmeter.control.IfController.next(IfController.java:178)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:187)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:229)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> >>         at
> >> org.apache.jmeter.control.IfController.next(IfController.java:178)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:187)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:229)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> >>         at
> >> org.apache.jmeter.control.IfController.next(IfController.java:178)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:187)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:229)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> >>         at
> >> org.apache.jmeter.control.IfController.next(IfController.java:178)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:187)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:229)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> >>         at
> >> org.apache.jmeter.control.IfController.next(IfController.java:178)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:187)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:229)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> >>         at
> >> org.apache.jmeter.control.IfController.next(IfController.java:178)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:187)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:229)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> >>         at
> >> org.apache.jmeter.control.IfController.next(IfController.java:178)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:187)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:229)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> >>         at
> >> org.apache.jmeter.control.IfController.next(IfController.java:178)
> >> ...
> >> ...
> >> ...
> >>       at
> >>
> org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:187)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:229)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> >>         at
> >> org.apache.jmeter.control.IfController.next(IfController.java:178)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:187)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:229)
> >>         at
> >>
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> >>
> >>
> >>
> >> This is the scenario !
> >>
> >>
> >>
> >>
> >> Attahced is the full jmeter.log
> >>
> >> Any idea ?
> >>
> >> BR,
> >>
> >> Toni.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> >> For additional commands, e-mail: user-help@jmeter.apache.org
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message