CPU utilization reaches 100% when i perform execution with JMeter in distributed mode

。_饼干妹妹 提交于 2019-12-25 08:59:10

问题


I am using JMeter(in distributed mode) for load testing. Its a JAVA application and SQL database. Application server and database server are two different images.

If i put 50 user's load, after 60 minutes application server reaches 100%. If i put 100 user's load, after 60 minutes application server reaches 100%. If i put 500 user's load, after 60 minutes application server reaches 100%. If i put 1500 user's load, after 60 minutes application server reaches 100%. If i put 2500 user's load, after 60 minutes application server reaches 100%.

Irrespective of number of user, CPU reaches 100% after 60 minutes.

Please do let me know what can be the reason behind it.


回答1:


Seems like a memory problem in the Application Server JVM. Try monitoring the memory usage of the JVM (ask the application server administrator to add -verbose:gc to the application startup parameters).

While you run the load look at the generated file on the application server and look for excessive GC time (which is the cause for the high CPU usage). If this happens - you may suggest to increase JVM memory on app server.

If no excessive GC is logged - it is not the case and you should work with the application server adminitrator to resolve.



来源:https://stackoverflow.com/questions/6261570/cpu-utilization-reaches-100-when-i-perform-execution-with-jmeter-in-distributed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!