聚沙成塔

解决性能测试错误码60990的方法

上一篇 / 下一篇  2013-05-10 23:08:33 / 个人分类:性能测试

环境:

CPU: Intel(R) Core(TM) i3-2350MCPU @ 2.30GHz (4 CPUs), ~2.3GHz

内存: 2048MB RAM

Windows NT    LoadRunner 9.5

现象:

500并发用户数,在Controller里运行录制好脚本,运行一段时间后,出现如下error messages

1. Code - 60990 Error: Two Way Communication Error: Function two_way_comm_post_message / two_way_comm_post_message_ex failed.

2. Code - 29739 Error: Service client with id=1 failed to post a message, reason - communication error.

3.Code-29723 Error: Failed to deliver a p2p message from parent to child process, reason - communication error

4. Code - 16895 Error: Failed to post xdr buffers data array by post_ex.

5. Code - 10343 Error: Communication error: Cannot send the message since reached the shared memory buffer max size.

 

原因:

查看任务栏管理器,mmdrv.exe CPU使用率在70%  已经没有其它可以使用的资源(现象3

共享内存缓存溢出,造成ControllerLoad Generator之间通讯出现问题。(现象45

 

解决方案:

现象3解决方法:修改两个配置文件。

1. $installation folder$\dat\channel_configure.dat

2. $installation folder$\launch_service\dat\channel_configure.dat

在这两个文件中的[general]部分下添加如下配置。

shared_memory_max_size=100 (修改共享内存为100MB,默认是50MB)

重新启动Controller,问题解决。

现象45解决方法:使用2台负载机,每台并发250个用户即可。

TAG:

 

评分:0

我来说两句

Open Toolbar