jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Goel <deic...@gmail.com>
Subject Re: High CPU and memory consumption when load testing with HTTP Sampler
Date Fri, 27 Jul 2012 17:25:19 GMT
Hey

You might need a bigger hardware box, i guess :)

:)
Deepak

On 7/25/12, Philippe Mouawad <philippe.mouawad@gmail.com> wrote:
> Hello,
> Read this :
> http://jmeter.apache.org/usermanual/best-practices.html
>
> Ensure you are not using View Results Tree or any other costly listeners.
>
> After checking all these points don't jump to conclusion that other
> parameters are OK if your original load test tool is reporting OK.
> Built-in samplers are rather highly tested and used , so i am not sure
> writing your own will help.
>
> Regards
> Philippe M.
>
> On Tue, Jul 24, 2012 at 8:28 PM, unjc email <unjc.email@gmail.com> wrote:
>
>> Hi all,
>>
>> I have a test plan with 100 threads of HTTP Request samplers hitting a
>> web server via proxy server.  My goal is to hammer the server as fast
>> as possible for an hour.  When I run the test for first 30 seconds,
>> the throughput is excellent; slowly I found it keeps dropping.  I am
>> sure it's not a problem with the network, proxy or web server because
>> the other load-testing tool has been working fine before I switch to
>> try Jmeter.
>>
>> I found that Jmeter consumes lots of memory and cpu cycles during the
>> test.  I have tried "Statistical" and "Stripped" mode, along with
>> 2048M heap size.  Nothing really helps to keep the test running for
>> long period of time.  The java process is one hungry monster in the
>> top stats.  Is there any lighter sampler available (that supports
>> proxy, custom originating IP, and https)?  If not, is there any good
>> document that could help start writing my own plugin?   Any comment or
>> advice will be greatly appreciated.
>>
>>
>>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>>  6128 root      20   0 10.5g 2.3g  14m S 539.2 19.5   6:16.95 java
>> -server -XX:+HeapDumpOnOutOfMemoryError -Xms2048m -Xmx2048m
>> -XX:NewSize=128m -XX:MaxNewSize=128m -XX:MaxTenuringThreshold=2
>> -Dsun.rmi.dgc.client.gcInterval=6
>>
>>
>>
>> Thanks,
>> Jacky
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
>> For additional commands, e-mail: user-help@jmeter.apache.org
>>
>>
>
>
> --
> Cordialement.
> Philippe Mouawad.
>


-- 
Namaskara~Nalama~Guten Tag~Bonjour


   --
Keigu

Deepak
+91-9765089593
deicool@gmail.com
http://www.simtree.net

Skype: thumsupdeicool
Google talk: deicool
Blog: http://loveandfearless.wordpress.com
Facebook: http://www.facebook.com/deicool

"Contribute to the world, environment and more : http://www.gridrepublic.org
"

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Mime
View raw message