转自:http://blog.sina.com.cn/s/blog_898879350101mmy1.html

问题:运行场景后,提示“Abnormal termination, caused by mdrv process termination”,服务端没有挂,仍可正常访问,且在运行场景时,没有自动重启。找下了,网上的答案如下:
转自:http://loadrunner.wetpaint.com/page/Abnormal+termination,+caused+by+mdrv+process+termination

f the LR articles. The Loadrunner vusers are run by a process called 'mdrv.exe'. Whenever this process encounters errors due to various reasons it may terminate. Some of the possible reasons are as follows

  1. The Host machine ( Load generator) is running too many Vusers as a result of which it system resources are being maximized. ( i.e. Consistent over 90% CPU and Memory utilization). The mdrv process does not get enough resources to process the request as a result it fails
  2. If you have Custom C coding, there is a possibility of allocated memory not being freed or memory violation errors which can lead to 'mdrv process termination'.
  3. Replay the script with think time.
  4. Turn off extended log when running the script in the controller.
  5. Do not use the controller itself as the loadgenerator. i.e. have a remote LoadGenerator.
  6. Introduce iteration pacing, if running more than one iteration each vuser.
  7. Open the file C:\WinNT\wlrun7.ini in a text editor, modify the entry from: AgentMaxThreadsPerDriver=50 to AgentMaxThreadsPerDriver=20 or 10
  8. Run Agent as process instead of service Launch command prompt and navigate to C:\Program Files\Mercury\Loadrunner\Launch_service\bin and run the command magentserive -remove. This will remove the agent. Now run the command magentproc -install This will install the agent as a process.
  9. Run vusers as process instead of threads.Please go to Runtime Settings > Miscellaneous > Multithreading > RunVuser as a process.

另外,注意下负载机的连接数是否过高,往往测试TPS较高的应用或是Client本身导致连接来不及释放会引起mmdrv进程Crash。当然加入Thinktime或者Pacing Time是种办法,一般最小可设置0.1~1s,但毕竟指标不治本,需要更多的用户来测试系统最大处理能力。

loadrunner 82801错误相关推荐

  1. LoadRunner 常见错误收集及解决方案

    一. This Vuser already started a transaction with the same name, and has not yet processed the corres ...

  2. loadrunner遇到错误继续运行

    作为一个初学者,今天在用 loadrunner写接口运行脚本时,报错了,使用关联拿到返回的 msg信息,但由于未做编码转换所以无法读懂返回的意思. 虽然在代码中 写了关于做中文编码处理的转换,但是在 ...

  3. loadrunner中错误为27796的一个解决方法

    虽然没遇到过这个问题,但网上看到有人遇到了,这里就备份一下 现象: 出现错误27796 failed to connect to server hostname:port_id:reason xxx ...

  4. LoadRunner的错误 60990 Error: Two Way Communication Error

    运行Java VUser的时候如已出现如下错误:Code - 60990 Error: Two Way Communication Error: Function two_way_comm_post_ ...

  5. loadrunner常见错误解决方法

    1.错误代码27226 提示: Action.c(36): Rendezvous 获取新闻列表 Action.c(38): Error -27226: The "action=newsAct ...

  6. LoadRunner Winsock 10053错误的真正原因

    最近使用LoadRunner进行Winsock协议的性能测试时,测试的WebServer是JBoss,经常出现10053错误,现象如下:当我用lrs_create_socket创建连接之后,当这个so ...

  7. LoadRunner解决超时错误

    在运行脚本回放过程中,有时会出现错误,这在实际测试中是不可避免的,毕竟自动录制生成的脚本难免会有问题,需要运行脚本进行验证,把问题都解决后才加入到场景中进行负载测试.下面结合常用的协议(如Web.We ...

  8. LoadRunner测试问题及解决方法总结

    一.Step download timeout (120 seconds) 这是一个经常会遇到的问题,解决得办法走以下步骤: 1.修改run time setting中的请求超时时间,增加到600s, ...

  9. [转]Loadrunner Error code 10053 Tomcat 连接器(connector)优化

    LoadRunner提示错误:Error : socket0 - Software caused connection abort. Error code : 10053. 在今天的测试过程中发现,s ...

最新文章

  1. ffmpeg文件拼接
  2. nexus-3.6.0-02-unix.tar.gz安装(Centos下),maven setting.xml配置案例,项目root的pom.xml配置,parent-pom的pom.xml配置案例
  3. 爬取某东600多本书籍,用数据帮你分析哪些Python书籍值得选择(上)
  4. 商业逻辑12讲之人力资源的逻辑
  5. Java泛型中的多态
  6. select * from where 三个条件_VBA学习笔记70: Select语句基础
  7. linux下软件的基本安装和卸载
  8. 关于MQTT协议的说明
  9. npm在项目目录安装插件需要使用sudo
  10. vue 实现无限轮播_Vue 实现无缝轮播
  11. html5爆音,刻录音乐CD出现爆音的解决方法
  12. 修改mysql字符集后如何生效_修改MySQL字符集
  13. ajax谷歌浏览器没缓存,从缓存AJAX请求会导致Chrome(Prevent Chrome from caching AJA
  14. thinkPHP使用中遇到的问题交流==
  15. 日语整理之 自五 他五
  16. python sorted函数详解
  17. 益智休闲手游源码《贪吃蛇大战方块》源码H5+安卓+IOS三端源码
  18. 游戏命中判定:圆桌算法和程序实现
  19. 【SpringBoot】Bean 注入失败问题汇总
  20. python中def main是什么意思_浅析Python中的main函数

热门文章

  1. 使用数据库(mysql)字段保存文件
  2. 万字详解秒杀系统!!
  3. matlab双边收敛,双边滤波(bilateral filter)快速算法 matlab实现代码
  4. 用JAVA语言写一个计算员工月工资的程序
  5. 【随笔】入坑半年后对嵌入式的一点认识
  6. 华硕灵耀X双屏UX482EAR(UX4100EAR)原厂系统|带ASUS Recovery功能
  7. OM|如何解决春运中的铁路列车调度问题
  8. Python 赋值语句和迭代生成式
  9. 软件评测师重难点复习手册(持续更新中)
  10. AJDK 8.0.0 Release Notes