Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 19194 invoked from network); 15 Aug 2008 15:56:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Aug 2008 15:56:47 -0000 Received: (qmail 23851 invoked by uid 500); 15 Aug 2008 15:56:40 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 23820 invoked by uid 500); 15 Aug 2008 15:56:40 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 23809 invoked by uid 99); 15 Aug 2008 15:56:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2008 08:56:40 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of eric.tchepannou@gmail.com designates 209.85.217.16 as permitted sender) Received: from [209.85.217.16] (HELO mail-gx0-f16.google.com) (209.85.217.16) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2008 15:55:43 +0000 Received: by gxk9 with SMTP id 9so3285439gxk.13 for ; Fri, 15 Aug 2008 08:55:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=khgm4dCVcPPouyiqR22aAc+TmioX0PutTQS5yFDWp/A=; b=sBrg1c/Z+ChdTw5tR8F8k9CfZlG5anaZit/8o5n88lsAliXCzjHAfDHvDnFWX+jMS8 y0gsA663oVEQUNJtgHNY8lV0ATcNuPOvboBgdTec2K/0rXGYxz2BuyjPHDQW0bM7JhsN Fe0XynxSuEQ310I8r923vuHrdFUmydYX7uFS0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=Bf1Ymvz3LPfG5LbSC3VM91GkVdaprGjl8IapU0GbAG6mjAc7e/SXjHnzDGfoRgWW6J GTSc0y2thk1bp7PSfOaGnIycsmnA51TuOdagzriWxzrGqOT2NYnWHvAwO0J7e7GChRBA w2UCfaPBYDFMiY1KXtoFM2eWAk8EP0D3KPxKg= Received: by 10.150.219.18 with SMTP id r18mr4119787ybg.231.1218815711168; Fri, 15 Aug 2008 08:55:11 -0700 (PDT) Received: by 10.150.137.16 with HTTP; Fri, 15 Aug 2008 08:55:10 -0700 (PDT) Message-ID: Date: Fri, 15 Aug 2008 16:55:10 +0100 From: "Eric Tchepannou" To: "JMeter Users List" Subject: Re: OutOfMemoryErrors. Tips for performance improvement. In-Reply-To: <25aac9fc0808141202r5846cda8g9aa3c2357173e09e@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_153462_27997102.1218815711148" References: <2AB2B3C160BFC14CB0D94D437513C3BA01694028@revmail02.revenuedomain.ie> <25aac9fc0808131129r6169bf36lbb52c309943bfe18@mail.gmail.com> <25aac9fc0808141202r5846cda8g9aa3c2357173e09e@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_153462_27997102.1218815711148 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Setting the JTL file to use CSV format made a big difference. I have now a kept a single result tree and agg. report. Also, I found that playing with the ramp-up value helps to minimise the amount of memory allocated within a period. Everything is now looking much better, I am running my test plan with 64 x 2 users, but jmeter seems to take toooo long to terminate the threads. The test is supposed to take 15 min, the last entry in jmeter.log was at 10:35, it is now 10:52 and when running the linux top command, I can see that circa 20 threads are still wating to be terminated. I am just hoping they are not blocked of something like that... Thanks again all. On Thu, Aug 14, 2008 at 8:02 PM, sebb wrote: > On 14/08/2008, Eric Tchepannou wrote: > > Hi guys, > > > > thanks so much for you help. > > After your recommendations, I have made following amendments to my > script: > > i. I have disabled the Cache Managers > > ii. I have deleted all Timers and kept, for each thread group, just one, > as > > sibling of the HTTP requests > > Unfortunately, I am still experiencing the same problem :-( > > Did you set the JTL file to use CSV format? > > > Does jmeter keeps the downloaded items in memory? > > No, unless there is a Listener that needs to save the details, e.g Tree > View. > > > If yes, is it possible to prevent this? > > I suggest you try experimenting with fewer threads - maybe try halving > the number and running two copies of JMeter. > > Alternatively, try running with smaller memory settings, e.g. > > "-Xms1024m -Xmx1024m" > > in case Java is grabbing more than it needs and causing the OOM. > > > Thanks! > > > > > > Eric. > > > > > > > > > > On Wed, Aug 13, 2008 at 7:29 PM, sebb wrote: > > > > > On 13/08/2008, Fitzpatrick, Adrian wrote: > > > > > > > > As Michael said , no errors! Where do you see the out of memory? In > > > terms of > > > > the JMX, the likely culprit is probably the HTTP cache manager. I > see > > > that it > > > > clears after interation but I also see each iteration apppears to > > > download a > > > > hell of a lot! I haven't counted at all, but I imagine a worst case > > > scenario > > > > of 128 threads running simulateanously and downloading say 10mb per > > > > iteration, theres up 1.2Gb memory gone before you even count > jmeter's > > > own > > > > memory usage.... have u tried running without this element? > > > > > > > > > > The Cache Manager should only save the Last-Modified and Etag values > > > for each URL, but maybe it has a fault. > > > > > > > > > > > -----Original Message----- > > > > From: Eric Tchepannou [mailto:eric.tchepannou@gmail.com] > > > > > > > > Sent: 13 August 2008 18:55 > > > > To: JMeter Users List > > > > > > > > Subject: Re: OutOfMemoryErrors. Tips for performance improvement. > > > > > > > > > > > > ************************************* > > > > > > > > This e-mail has been received by the Revenue Internet e-mail > service. > > > (IP) > > > > > > > > ************************************* > > > > > > > > > > > > see attached. > > > > > > > > Thanks . > > > > > > > > Eric. > > > > > > > > > > > > On Wed, Aug 13, 2008 at 6:28 PM, Fitzpatrick, Adrian < > > > adrianf@revenue.ie> > > > > wrote: > > > > > > > > > > > > > > > > Hi Eric, > > > > > > > > We are running more threads with less memory than this, so it > should be > > > > possible. Are you doing anything odd in your thread groups that > might > > > consume > > > > a lot of memory? If you want to share ur JMX file i can take a look > and > > > see > > > > if I can spot anything.... > > > > > > > > Regards, > > > > > > > > Adrian > > > > > > > > > > > > -----Original Message----- > > > > From: Eric Tchepannou [mailto: eric.tchepannou@gmail.com] > > > > Sent: 13 August 2008 17:58 > > > > To: JMeter Users List > > > > Subject: OutOfMemoryErrors. Tips for performance improvement. > > > > > > > > > > > > Hi all, > > > > > > > > I am looking for tips to improve performance with jmeter. I have > > > recorded a > > > > web test script containing two thread groups. Following the > jmeter's > > > best > > > > practice guide, I have disabled all my listeners and I am running > in > > > nongui > > > > mode and with "-Xms2048m -Xmx2048m". I am trying to simulate 128 (2 > x > > > 64) > > > > users for one hour, but constantly get OutOfMemory errors after > about 15 > > > > minutes. I would have hoped to be able to perform this test from a > > > single > > > > client, but it looks like this will only work with distributed > testing > > > or do > > > > you know any other useful tip I could use to improve the > performance? > > > > > > > > Thanks, > > > > > > > > Eric. > > > > > > > > > > > > > > > > ************************ > > > > > > > > This message has been delivered to the Internet by the Revenue > Internet > > > > e-mail service (OP) > > > > > > > > ************************* > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > > > > For additional commands, e-mail: > jmeter-user-help@jakarta.apache.org > > > > > > > > > > > > > > > > > > > > > > > > > > > > ************************ > > > > > > > > This message has been delivered to the Internet by the Revenue > Internet > > > e-mail service (OP) > > > > > > > > ************************* > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > ------=_Part_153462_27997102.1218815711148--