Reg VSTS 2012 Ultimate负载测试问题 [英] Reg VSTS 2012 Ultimate Load Testing Issue

查看:97
本文介绍了Reg VSTS 2012 Ultimate负载测试问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

专家

我们正在对302位用户进行负载测试.

We are running a Load Test with 302 Users.

请在下面找到使用的配置

Please find below the configurations used

控制器计算机(虚拟机):8 GB RAM,英特尔至强CPU X650 @ 2.67 GHz单核,64位我们有负载测试代理工具和负载测试控制器配置工具

Controller Machine(Virtual Machine): 8 GB RAM, Intel Xeon CPU  X650 @ 2.67 GHz Single Core, 64-Bit. We have Load Test Agent Tool and Load Test Controller Confguration Tool

4台LG机器(虚拟机):4 GB RAM,Intel Xeon CPU X650 @ 2.67 GHz单核,64位我们已经安装了负载测试代理工具.

4 LG Machines(Virtual Machines): 4 GB RAM, Intel Xeon CPU  X650 @ 2.67 GHz Single Core, 64-Bit. We have Load Test Agent Tool installed.

我们需要运行8小时的测试.但是经过1-2小时的测试开始时间后,我们发现LG机器和控制器的物理内存已用完.

We need to run the test for 8 Hours. But after 1-2 Hours of the test start time, we are observing that LG Machines and Controller is going out of Physical mmeory.

我们已检查QTAgent_40是否耗尽了所有内存,并且没有以消耗内存的速率释放内存.

We have checked that QTAgent_40 is eating up all the memory and its not releasing the memory at the rate at which the memory is consumed.

我们检查了负载是否在所有5台计算机之间平均分配(每台计算机60个用户)

We have checked that the load is distributed equally among all 5 machines.(60 users per machine)

我们使用2分钟的采样率. WebTest连接模型称为连接池"和Pool size为50,60(我们尝试了两项测试.一项为50,另一项为60.但是在这两项测试中,我们都面临着相同的问题).

We are using a sample rate of 2 minutes. WebTest Connection model as Connection Pool  and Pool size as 50,60(we tried two tests. One as 50 and other as 60. But in both the tests we faced the same issue).

任何指针都可以帮助我解决问题,

Any pointers help me out whith issue would be a great help.

谢谢

Abhishek Aruru

Abhishek Aruru

推荐答案

也许您在测试的代码中发现了一个错误.这是QTAgent_40耗尽内存的一些可能原因.

Well perhaps you've found a bug in the code you are testing.  Here's some possible reasons for QTAgent_40 eating up the memory. 

  • 当用户数量很多时,这是正常现象
  • 这可能是受测应用程序的副作用?毕竟QTAgent是否有可能与受测应用程序进行封装或紧密耦合?我们不知道,因为我们可以看到代码.
  • 您是否偶然知道在经过更小的负载测试并通过之后,内存是否确实恢复了正常?

当我们看不到代码时,很难回答QTAgent占用内存的原因,但是您可以进行进程转储,并尝试使用Windbg找出原因.虽然不合理...

It would be difficult to be able to answer the reason QTAgent is hogging memory when we can't see the code, but you could take a process dump and try to figure it out using Windbg...  Not reasonable though...


这篇关于Reg VSTS 2012 Ultimate负载测试问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆