[prev in list] [next in list] [prev in thread] [next in thread]
List: grinder-use
Subject: Re: [Grinder-use] Parameterization and Correlation in "Grinder 3
From: <MuzammilHusain.Shaikh () cognizant ! com>
Date: 2010-05-12 5:20:22
Message-ID: 21949AF5D15D5F4884E36AB7A980D2C80C124126 () ctsinpunsxue ! cts ! com
[Download RAW message or body]
--===============7732941412610583139==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01CAF191.25AFE9FB"
This is a multi-part message in MIME format.
Hi,
We are doing R&D on Grinder-3. We have recorded the script and it
is executing fine. Need some in the above mentioned topic.
We prefer sourceforge.
Thanks.
Eagerly waiting for reply!
-----Original Message-----
From: grinder-use-request@lists.sourceforge.net
[mailto:grinder-use-request@lists.sourceforge.net]
Sent: Tuesday, May 11, 2010 9:42 PM
To: grinder-use@lists.sourceforge.net
Subject: grinder-use Digest, Vol 48, Issue 2
Send grinder-use mailing list submissions to
grinder-use@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/grinder-use
or, via email, send a message with subject or body 'help' to
grinder-use-request@lists.sourceforge.net
You can reach the person managing the list at
grinder-use-owner@lists.sourceforge.net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of grinder-use digest..."
Today's Topics:
1. Parametarization & Correlation in Grinder 3
(MuzammilHusain.Shaikh@cognizant.com)
2. Re: Parametarization & Correlation in Grinder 3
(Serra, Guido, VF-Group)
3. Memory Leaks (Simpson, Andrew)
4. Re: Memory Leaks (Serra, Guido, VF-Group)
----------------------------------------------------------------------
Message: 1
Date: Tue, 11 May 2010 11:38:07 +0530
From: <MuzammilHusain.Shaikh@cognizant.com>
Subject: [Grinder-use] Parametarization & Correlation in Grinder 3
To: <grinder-use@lists.sourceforge.net>
Message-ID:
<21949AF5D15D5F4884E36AB7A980D2C80C060754@ctsinpunsxue.cts.com>
Content-Type: text/plain; charset="us-ascii"
Hi,
Now I am able to record and execute the script. Just need some
help regarding parameterization and correlation in Grinder-3.
Thanks,
Shaikh Muzammil Husain.
Pune. India
+91 9226443177
This e-mail and any files transmitted with it are for the sole use of
the intended recipient(s) and may contain confidential and privileged
information.
If you are not the intended recipient, please contact the sender by
reply e-mail and destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding,
printing or copying of this email or any action taken in reliance on
this e-mail is strictly
prohibited and may be unlawful.
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 2
Date: Tue, 11 May 2010 09:32:52 +0200
From: "Serra, Guido, VF-Group" <guido.serra@vodafone.com>
Subject: Re: [Grinder-use] Parametarization & Correlation in Grinder 3
To: grinder-use <grinder-use@lists.sourceforge.net>
Message-ID: <4BE90824.9040701@vodafone.com>
Content-Type: text/plain; charset="iso-8859-1"
k, apologize... I tried to speed up the release of our code which does
that already
what u guys prefer? launchpad or sourceforge?
On 11/05/2010 08:06, MuzammilHusain.Shaikh@cognizant.com wrote:
>
> Hi,
>
> Now I am able to record and execute the script. Just need some
> help regarding parameterization and correlation in Grinder-3.
>
--
Regards,
Guido Serra
VIS Technology QA
Vodafone Group Services GmbH
D?sseldorf, Germany
Tel: +49-211-820-2629
Registered Office: Mannesmannufer 2, 40213 D?sseldorf, Germany County
Court D?sseldorf, HRB 53554
Management Board: Dr. Joachim Peters, Rainer Wallek
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 3
Date: Tue, 11 May 2010 12:06:43 -0400
From: "Simpson, Andrew" <Andrew.Simpson@serco-na.com>
Subject: [Grinder-use] Memory Leaks
To: "grinder-use@lists.sourceforge.net"
<grinder-use@lists.sourceforge.net>
Message-ID:
<B72B5BFCA6884144A947015E7D5A939778BC3B0211@SNAMB01.serco-na.com>
Content-Type: text/plain; charset="us-ascii"
Greetings,
I have implemented jython scripts to load test our Web applications and
am having trouble plugging all the memory leaks.
2 processes with 20 threads each will run through 1GB of memory in
around an hour.
The HTTP requests are for html,gif,css,flash,etc., at around 40TPS with
mean response length 28,700 bytes.
Does anyone have any suggestions, guidelines or best practices for
developing leak free grinder jython scripts?
Are there any common bad use cases when using the grinder libraries?
Jmap -histo near end of a run:
num #instances #bytes class name
----------------------------------------------
1: 83646 214690080 [B
2: 5217439 125218536
java.util.concurrent.locks.ReentrantLock$NonfairSync
3: 2923801 70171224
extra166y.CustomConcurrentHashMap$TerminalStrongKeyStrongValueNode
4: 1973657 63680288
[Lextra166y.CustomConcurrentHashMap$Node;
5: 3242108 52998200 [Ljava.lang.Object;
6: 3223598 51577568
java.util.concurrent.locks.ReentrantLock
7: 3220741 51531856
java.util.concurrent.CopyOnWriteArrayList
8: 1973657 47367768
extra166y.CustomConcurrentHashMap$Segment
9: 137770 34657760 [C
10: 73178 19904416
[Lextra166y.CustomConcurrentHashMap$Segment;
I've tried many variations for jvm.args, here is the most recent:
grinder.jvm.arguments=-server -Xss2m -Xms1024m -Xmx1024m
-XX:NewRatio=3 -XX:PermSize=32m -XX:MaxPermSize=32m
I have KeepAlives turned off:
from java.lang import System
System.setProperty("HTTPClient.disableKeepAlives", "true")
System.setProperty("HTTPClient.forceHTTP_1.0", "true")
grinder.dcrinstrumentation=true
Grinder version 3.4
Jython version 2.5.1
JDK 1.6.0_18
Thanks for any suggestions,
Drew
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 4
Date: Tue, 11 May 2010 18:12:21 +0200
From: "Serra, Guido, VF-Group" <Guido.Serra@vodafone.com>
Subject: Re: [Grinder-use] Memory Leaks
To: "grinder-use" <grinder-use@lists.sourceforge.net>
Message-ID: <19bc01caf124$baebbb2a$1605e691@internal.vodafone.com>
Use grinder 3.2 and jython 2.2.1
We are not upgrading due to that reason.
We have published patches for both. Grinder team has implemented and
fixed
as well other stuff. While jython.org developers have to catchup yet,
cause we provided a patch against 2.2.1...
Regards,
G.
"Simpson, Andrew" <Andrew.Simpson@serco-na.com> wrote:
Greetings,
I have implemented jython scripts to load test our Web applications and
am
having trouble plugging all the memory leaks.
2 processes with 20 threads each will run through 1GB of memory in
around
an hour.
The HTTP requests are for html,gif,css,flash,etc., at around 40TPS with
mean response length 28,700 bytes.
Does anyone have any suggestions, guidelines or best practices for
developing leak free grinder jython scripts?
Are there any common bad use cases when using the grinder libraries?
Jmap -histo near end of a run:
num #instances #bytes class name
----------------------------------------------
1: 83646 214690080 [B
2: 5217439 125218536
java.util.concurrent.locks.ReentrantLock$NonfairSync
3: 2923801 70171224
extra166y.CustomConcurrentHashMap$TerminalStrongKeyStrongValueNode
4: 1973657 63680288
[Lextra166y.CustomConcurrentHashMap$Node;
5: 3242108 52998200 [Ljava.lang.Object;
6: 3223598 51577568
java.util.concurrent.locks.ReentrantLock
7: 3220741 51531856
java.util.concurrent.CopyOnWriteArrayList
8: 1973657 47367768
extra166y.CustomConcurrentHashMap$Segment
9: 137770 34657760 [C
10: 73178 19904416
[Lextra166y.CustomConcurrentHashMap$Segment;
I've tried many variations for jvm.args, here is the most recent:
grinder.jvm.arguments=-server -Xss2m -Xms1024m -Xmx1024m
-XX:NewRatio=
3 -XX:PermSize=32m -XX:MaxPermSize=32m
I have KeepAlives turned off:
from java.lang import System
System.setProperty("HTTPClient.disableKeepAlives", "true")
System.setProperty("HTTPClient.forceHTTP_1.0", "true")
grinder.dcrinstrumentation=true
Grinder version 3.4
Jython version 2.5.1
JDK 1.6.0_18
Thanks for any suggestions,
Drew
------------------------------
------------------------------------------------------------------------
------
------------------------------
_______________________________________________
grinder-use mailing list
grinder-use@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/grinder-use
End of grinder-use Digest, Vol 48, Issue 2
******************************************
This e-mail and any files transmitted with it are for the sole use of the intended \
recipient(s) and may contain confidential and privileged information. If you are not \
the intended recipient, please contact the sender by reply e-mail and destroy all \
copies of the original message. Any unauthorised review, use, disclosure, \
dissemination, forwarding, printing or copying of this email or any action taken in \
reliance on this e-mail is strictly prohibited and may be unlawful.
[Attachment #3 (text/html)]
<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.5pt;
font-family:Consolas;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:Consolas;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoPlainText>Hi,<o:p></o:p></p>
<p class=MsoPlainText> We are doing R&D on \
Grinder-3. We have recorded the script and it is executing fine. Need some in the \
above mentioned topic.<o:p></o:p></p>
<p class=MsoPlainText>We prefer sourceforge.<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Thanks.<o:p></o:p></p>
<p class=MsoPlainText> \
<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><b><span style='font-size:14.5pt'>Eagerly waiting for
reply!<o:p></o:p></span></b></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>-----Original Message-----<br>
From: grinder-use-request@lists.sourceforge.net
[mailto:grinder-use-request@lists.sourceforge.net] <br>
Sent: Tuesday, May 11, 2010 9:42 PM<br>
To: grinder-use@lists.sourceforge.net<br>
Subject: grinder-use Digest, Vol 48, Issue 2<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Send grinder-use mailing list submissions to<o:p></o:p></p>
<p class=MsoPlainText> \
grinder-use@lists.sourceforge.net<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>To subscribe or unsubscribe via the World Wide Web, \
visit<o:p></o:p></p>
<p class=MsoPlainText> \
https://lists.sourceforge.net/lists/listinfo/grinder-use<o:p></o:p></p>
<p class=MsoPlainText>or, via email, send a message with subject or body 'help'
to<o:p></o:p></p>
<p class=MsoPlainText> \
grinder-use-request@lists.sourceforge.net<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>You can reach the person managing the list at<o:p></o:p></p>
<p class=MsoPlainText> \
grinder-use-owner@lists.sourceforge.net<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>When replying, please edit your Subject line so it is
more specific<o:p></o:p></p>
<p class=MsoPlainText>than "Re: Contents of grinder-use \
digest..."<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Today's Topics:<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText> 1. Parametarization & Correlation in Grinder \
3<o:p></o:p></p>
<p class=MsoPlainText> \
(MuzammilHusain.Shaikh@cognizant.com)<o:p></o:p></p>
<p class=MsoPlainText> 2. Re: Parametarization & Correlation in \
Grinder 3<o:p></o:p></p>
<p class=MsoPlainText> (Serra, Guido, \
VF-Group)<o:p></o:p></p>
<p class=MsoPlainText> 3. Memory Leaks (Simpson, Andrew)<o:p></o:p></p>
<p class=MsoPlainText> 4. Re: Memory Leaks (Serra, Guido, \
VF-Group)<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>----------------------------------------------------------------------<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Message: 1<o:p></o:p></p>
<p class=MsoPlainText>Date: Tue, 11 May 2010 11:38:07 +0530<o:p></o:p></p>
<p class=MsoPlainText>From: \
<MuzammilHusain.Shaikh@cognizant.com><o:p></o:p></p>
<p class=MsoPlainText>Subject: [Grinder-use] Parametarization & Correlation
in Grinder 3<o:p></o:p></p>
<p class=MsoPlainText>To: <grinder-use@lists.sourceforge.net><o:p></o:p></p>
<p class=MsoPlainText>Message-ID:<o:p></o:p></p>
<p class=MsoPlainText> \
<21949AF5D15D5F4884E36AB7A980D2C80C060754@ctsinpunsxue.cts.com><o:p></o:p></p>
<p class=MsoPlainText>Content-Type: text/plain; \
charset="us-ascii"<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Hi,<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText> Now I am able to record and \
execute the script. Just need some<o:p></o:p></p>
<p class=MsoPlainText>help regarding parameterization and correlation in
Grinder-3.<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText> <o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText> <o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Thanks,<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Shaikh Muzammil Husain.<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Pune. India<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>+91 9226443177<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>This e-mail and any files transmitted with it are for the
sole use of the intended recipient(s) and may contain confidential and
privileged information.<o:p></o:p></p>
<p class=MsoPlainText>If you are not the intended recipient, please contact the
sender by reply e-mail and destroy all copies of the original message. \
<o:p></o:p></p>
<p class=MsoPlainText>Any unauthorised review, use, disclosure, dissemination,
forwarding, printing or copying of this email or any action taken in reliance
on this e-mail is strictly <o:p></o:p></p>
<p class=MsoPlainText>prohibited and may be unlawful.<o:p></o:p></p>
<p class=MsoPlainText>-------------- next part --------------<o:p></o:p></p>
<p class=MsoPlainText>An HTML attachment was scrubbed...<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>------------------------------<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Message: 2<o:p></o:p></p>
<p class=MsoPlainText>Date: Tue, 11 May 2010 09:32:52 +0200<o:p></o:p></p>
<p class=MsoPlainText>From: "Serra, Guido, VF-Group"
<guido.serra@vodafone.com><o:p></o:p></p>
<p class=MsoPlainText>Subject: Re: [Grinder-use] Parametarization &
Correlation in Grinder 3<o:p></o:p></p>
<p class=MsoPlainText>To: grinder-use \
<grinder-use@lists.sourceforge.net><o:p></o:p></p>
<p class=MsoPlainText>Message-ID: \
<4BE90824.9040701@vodafone.com><o:p></o:p></p>
<p class=MsoPlainText>Content-Type: text/plain; \
charset="iso-8859-1"<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>k, apologize... I tried to speed up the release of our
code which does <o:p></o:p></p>
<p class=MsoPlainText>that already<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>what u guys prefer? launchpad or sourceforge?<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>On 11/05/2010 08:06, MuzammilHusain.Shaikh@cognizant.com
wrote:<o:p></o:p></p>
<p class=MsoPlainText>><o:p> </o:p></p>
<p class=MsoPlainText>> Hi,<o:p></o:p></p>
<p class=MsoPlainText>><o:p> </o:p></p>
<p class=MsoPlainText>> Now I am able to \
record and execute the script. Just need some <o:p></o:p></p>
<p class=MsoPlainText>> help regarding parameterization and correlation in
Grinder-3.<o:p></o:p></p>
<p class=MsoPlainText>><o:p> </o:p></p>
<p class=MsoPlainText>-- <o:p></o:p></p>
<p class=MsoPlainText>Regards,<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Guido Serra<o:p></o:p></p>
<p class=MsoPlainText>VIS Technology QA<o:p></o:p></p>
<p class=MsoPlainText>Vodafone Group Services GmbH<o:p></o:p></p>
<p class=MsoPlainText>D?sseldorf, Germany<o:p></o:p></p>
<p class=MsoPlainText>Tel: +49-211-820-2629<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Registered Office: Mannesmannufer 2, 40213 D?sseldorf,
Germany County Court D?sseldorf, HRB 53554<o:p></o:p></p>
<p class=MsoPlainText>Management Board: Dr. Joachim Peters, Rainer \
Wallek<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>-------------- next part --------------<o:p></o:p></p>
<p class=MsoPlainText>An HTML attachment was scrubbed...<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>------------------------------<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Message: 3<o:p></o:p></p>
<p class=MsoPlainText>Date: Tue, 11 May 2010 12:06:43 -0400<o:p></o:p></p>
<p class=MsoPlainText>From: "Simpson, Andrew"
<Andrew.Simpson@serco-na.com><o:p></o:p></p>
<p class=MsoPlainText>Subject: [Grinder-use] Memory Leaks<o:p></o:p></p>
<p class=MsoPlainText>To: \
"grinder-use@lists.sourceforge.net"<o:p></o:p></p>
<p class=MsoPlainText> \
<grinder-use@lists.sourceforge.net><o:p></o:p></p>
<p class=MsoPlainText>Message-ID:<o:p></o:p></p>
<p class=MsoPlainText> \
<B72B5BFCA6884144A947015E7D5A939778BC3B0211@SNAMB01.serco-na.com><o:p></o:p></p>
<p class=MsoPlainText>Content-Type: text/plain; \
charset="us-ascii"<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Greetings,<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>I have implemented jython scripts to load test our Web
applications and am having trouble plugging all the memory leaks.<o:p></o:p></p>
<p class=MsoPlainText>2 processes with 20 threads each will run through 1GB of
memory in around an hour.<o:p></o:p></p>
<p class=MsoPlainText>The HTTP requests are for html,gif,css,flash,etc., at
around 40TPS with mean response length 28,700 bytes.<o:p></o:p></p>
<p class=MsoPlainText>Does anyone have any suggestions, guidelines or best
practices for developing leak free grinder jython scripts?<o:p></o:p></p>
<p class=MsoPlainText>Are there any common bad use cases when using the grinder
libraries?<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Jmap -histo near end of a run:<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText> num \
#instances #bytes class \
name<o:p></o:p></p>
<p class=MsoPlainText>----------------------------------------------<o:p></o:p></p>
<p class=MsoPlainText> 1: \
83646 214690080 [B<o:p></o:p></p>
<p class=MsoPlainText> 2: \
5217439 125218536 \
java.util.concurrent.locks.ReentrantLock$NonfairSync<o:p></o:p></p>
<p class=MsoPlainText> 3: \
2923801 70171224 \
extra166y.CustomConcurrentHashMap$TerminalStrongKeyStrongValueNode<o:p></o:p></p>
<p class=MsoPlainText> 4: \
1973657 63680288 \
[Lextra166y.CustomConcurrentHashMap$Node;<o:p></o:p></p>
<p class=MsoPlainText> 5: \
3242108 52998200 \
[Ljava.lang.Object;<o:p></o:p></p>
<p class=MsoPlainText> 6: \
3223598 51577568 \
java.util.concurrent.locks.ReentrantLock<o:p></o:p></p>
<p class=MsoPlainText> 7: \
3220741 51531856 \
java.util.concurrent.CopyOnWriteArrayList<o:p></o:p></p>
<p class=MsoPlainText> 8: \
1973657 47367768 \
extra166y.CustomConcurrentHashMap$Segment<o:p></o:p></p>
<p class=MsoPlainText> 9: \
137770 34657760 [C<o:p></o:p></p>
<p class=MsoPlainText> 10: \
73178 19904416 \
[Lextra166y.CustomConcurrentHashMap$Segment;<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>I've tried many variations for jvm.args, here is the most
recent:<o:p></o:p></p>
<p class=MsoPlainText> grinder.jvm.arguments=-server -Xss2m \
-Xms1024m
-Xmx1024m -XX:NewRatio=3 -XX:PermSize=32m -XX:MaxPermSize=32m<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>I have KeepAlives turned off:<o:p></o:p></p>
<p class=MsoPlainText> from java.lang import System<o:p></o:p></p>
<p class=MsoPlainText>
System.setProperty("HTTPClient.disableKeepAlives", \
"true")<o:p></o:p></p>
<p class=MsoPlainText>
System.setProperty("HTTPClient.forceHTTP_1.0", \
"true")<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>grinder.dcrinstrumentation=true<o:p></o:p></p>
<p class=MsoPlainText>Grinder version 3.4<o:p></o:p></p>
<p class=MsoPlainText>Jython version 2.5.1<o:p></o:p></p>
<p class=MsoPlainText>JDK 1.6.0_18<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Thanks for any suggestions,<o:p></o:p></p>
<p class=MsoPlainText>Drew<o:p></o:p></p>
<p class=MsoPlainText>-------------- next part --------------<o:p></o:p></p>
<p class=MsoPlainText>An HTML attachment was scrubbed...<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>------------------------------<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Message: 4<o:p></o:p></p>
<p class=MsoPlainText>Date: Tue, 11 May 2010 18:12:21 +0200<o:p></o:p></p>
<p class=MsoPlainText>From: "Serra, Guido, VF-Group"
<Guido.Serra@vodafone.com><o:p></o:p></p>
<p class=MsoPlainText>Subject: Re: [Grinder-use] Memory Leaks<o:p></o:p></p>
<p class=MsoPlainText>To: "grinder-use"
<grinder-use@lists.sourceforge.net><o:p></o:p></p>
<p class=MsoPlainText>Message-ID:
<19bc01caf124$baebbb2a$1605e691@internal.vodafone.com><o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Use grinder 3.2 and jython 2.2.1<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>We are not upgrading due to that reason.<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>We have published patches for both. Grinder team has
implemented and fixed<o:p></o:p></p>
<p class=MsoPlainText>as well other stuff. While jython.org developers have to
catchup yet,<o:p></o:p></p>
<p class=MsoPlainText>cause we provided a patch against 2.2.1...<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Regards,<o:p></o:p></p>
<p class=MsoPlainText>G.<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>"Simpson, Andrew"
<Andrew.Simpson@serco-na.com> wrote:<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Greetings,<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>I have implemented jython scripts to load test our Web
applications and am<o:p></o:p></p>
<p class=MsoPlainText>having trouble plugging all the memory leaks.<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>2 processes with 20 threads each will run through 1GB of
memory in around<o:p></o:p></p>
<p class=MsoPlainText>an hour.<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>The HTTP requests are for html,gif,css,flash,etc., at
around 40TPS with<o:p></o:p></p>
<p class=MsoPlainText>mean response length 28,700 bytes.<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Does anyone have any suggestions, guidelines or best
practices for<o:p></o:p></p>
<p class=MsoPlainText>developing leak free grinder jython scripts?<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Are there any common bad use cases when using the grinder
libraries?<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Jmap –histo near end of a run:<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText> num \
#instances #bytes class \
name<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>----------------------------------------------<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText> 1: \
83646 214690080 [B<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText> 2: \
5217439 125218536<o:p></o:p></p>
<p class=MsoPlainText>java.util.concurrent.locks.ReentrantLock$NonfairSync<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText> 3: \
2923801 70171224<o:p></o:p></p>
<p class=MsoPlainText>extra166y.CustomConcurrentHashMap$TerminalStrongKeyStrongValueNode<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText> 4: \
1973657 63680288<o:p></o:p></p>
<p class=MsoPlainText>[Lextra166y.CustomConcurrentHashMap$Node;<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText> 5: \
3242108 52998200 \
[Ljava.lang.Object;<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText> 6: \
3223598 51577568<o:p></o:p></p>
<p class=MsoPlainText>java.util.concurrent.locks.ReentrantLock<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText> 7: \
3220741 51531856<o:p></o:p></p>
<p class=MsoPlainText>java.util.concurrent.CopyOnWriteArrayList<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText> 8: \
1973657 47367768<o:p></o:p></p>
<p class=MsoPlainText>extra166y.CustomConcurrentHashMap$Segment<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText> 9: \
137770 34657760 [C<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText> 10: \
73178 19904416<o:p></o:p></p>
<p class=MsoPlainText>[Lextra166y.CustomConcurrentHashMap$Segment;<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>I’ve tried many variations for jvm.args, here is the most
recent:<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText> grinder.jvm.arguments=-server -Xss2m \
-Xms1024m
-Xmx1024m -XX:NewRatio=<o:p></o:p></p>
<p class=MsoPlainText>3 -XX:PermSize=32m -XX:MaxPermSize=32m<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>I have KeepAlives turned off:<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText> from java.lang import System<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>
System.setProperty("HTTPClient.disableKeepAlives", \
"true")<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>
System.setProperty("HTTPClient.forceHTTP_1.0", \
"true")<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>grinder.dcrinstrumentation=true<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Grinder version 3.4<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Jython version 2.5.1<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>JDK 1.6.0_18<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Thanks for any suggestions,<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Drew<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>------------------------------<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>------------------------------------------------------------------------------<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>------------------------------<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>_______________________________________________<o:p></o:p></p>
<p class=MsoPlainText>grinder-use mailing list<o:p></o:p></p>
<p class=MsoPlainText>grinder-use@lists.sourceforge.net<o:p></o:p></p>
<p class=MsoPlainText>https://lists.sourceforge.net/lists/listinfo/grinder-use<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>End of grinder-use Digest, Vol 48, Issue 2<o:p></o:p></p>
<p class=MsoPlainText>******************************************<o:p></o:p></p>
</div>
</body>
</html>
<table><tr><td bgcolor=#ffffff><font color=#000000>This e-mail and any files \
transmitted with it are for the sole use of the intended recipient(s) and may contain \
confidential and privileged information.<br> If you are not the intended recipient, \
please contact the sender by reply e-mail and destroy all copies of the original \
message. <br> Any unauthorised review, use, disclosure, dissemination, forwarding, \
printing or copying of this email or any action taken in reliance on this e-mail is \
strictly <br> prohibited and may be unlawful.<br>
</font></td></tr></table>
[Attachment #4 (--===============7732941412610583139==)]
------------------------------------------------------------------------------
_______________________________________________
grinder-use mailing list
grinder-use@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/grinder-use
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic