JMeter issues when running large number of threads

前端 未结 6 641
無奈伤痛
無奈伤痛 2020-12-10 04:30

I\'m testing using Apache\'s Jmeter, I\'m simply accessing one page of my companies website and turning up the number of users until it reaches a threshold, the problem is t

6条回答
  •  遥遥无期
    2020-12-10 05:01

    For the JVM, if you read hprof it gives you some solutions among which are:

    • switch to a 64 bits jvm ( > 6_u25)

    • with this you will be able to allocate more Heap (-Xmx) , ensure you have this RAM

    • reduce Xss with:

    -Xss256k

    Then for JMeter, follow best-practices:

    • http://jmeter.apache.org/usermanual/best-practices.html
    • http://www.ubik-ingenierie.com/blog/jmeter_performance_tuning_tips/

    Finally ensure you use last JMeter version.

    • Use linux OS preferably

    • Tune the TCP stack, limits

    Success will depend on your machine power (cpu and memory) and your test plan.

    If this is not enough (for 3000 threads it should be OK), you may need to use distributed testing

提交回复
热议问题