Re: how to specialize JVM parameter per process ?
Olivier <[email protected]> Wed, 22 Apr 2015 18:58:25 +0200
| Newsgroups | gmane.comp.java.grinder.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Gary The problem is that the worker processes are spawned by the agent, so your suggestion cannot work. Olivier -----Message d'origine----- De : "Gary Mulder" <[email protected]> Envoyé : 22/04/2015 17:52 À : "grinder-use" <[email protected]> Objet : Re: [Grinder-use] how to specialize JVM parameter per process ? On 22 April 2015 at 16:36, olivier merlin <[email protected]> wrote: Hi, does someone know how to have one grinder.jvm.arguments parameter per worker ? I would like to trace a memory leak issue on 2 processes with: grinder.jvm.arguments=-verbosegc -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintTenuringDistribution -Xloggc:/tmp/loggc.txt The problem is that i have only one parameter, so only one file ... Assuming I understand what you are asking, if you're using Linux you could wrap the java executable in a script on the server where you want to add the extra parameters, e.g. something like: mv /usr/bin/java /usr/bin/java.orig cat > /usr/bin/java <<EOF #!/bin/sh /usr/bin/java.orig <my-debug-params> $* EOF chmod +x /usr/bin/java Gary ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ grinder-use mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/grinder-use