jmeter展示内存cpu,当我在分布式模式下使用JMeter执行时,CPU利用率达到100%

在使用JMeter进行分布式负载测试时,无论加载50、100、500还是1500、2500个用户,60分钟后应用服务器的CPU都会达到100%。这可能是应用服务器JVM内存问题导致的。建议监控JVM内存使用,检查是否存在过度的垃圾收集(GC)时间,如果存在,可以考虑增加应用服务器的JVM内存。若GC时间正常,则需与应用服务器管理员合作进一步解决问题。
摘要由CSDN通过智能技术生成

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.

解决方案

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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值