性能測試培訓總結-Abnormal termination, caused by mdrv process termination

 問題:運行場景後,提示“Abnormal termination, caused by mdrv process termination”,服務端沒有掛,仍可正常訪問,且在運行場景時,沒有自動重啓。找下了,網上的答案以下: ide

 

  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 failsspa

  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'.orm

  3. Replay the script with think time.ip

  4. Turn off extended log when running the script in the controller.ci

  5. Do not use the controller itself as the loadgenerator. i.e. have a remote LoadGenerator.rem

  6. Introduce iteration pacing, if running more than one iteration each vuser.get

  7. Open the file loadrunner installation\config\wlrun7.ini in a text editor, modify the entry from: AgentMaxThreadsPerDriver=50 to AgentMaxThreadsPerDriver=20 or 10generator

  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.it

  9. Run vusers as process instead of threads.Please go to Runtime Settings > Miscellaneous > Multithreading > RunVuser as a process.io

相關文章
相關標籤/搜索