LoadRunner Support Forum
Showing results for 
Search instead for 
Do you mean 

Termination due to error as " Abnormal termination, caused by mdrv process termination" .

Highlighted
Respected Contributor

Termination due to error as " Abnormal termination, caused by mdrv process termination" .

Hi All,

We are running VB Vuser Type protocol script from performance center 11.

LR version is 11 and is on Patch 4.

This single script scenario is running fine upto 8 Vusers, if the Vusers are ramped up above 8 remaining all are failing with "Abnormal termination, caused by mdrv process termination" error.

Can any aone please guide me on how to handle this issue.

Regards,

Srihari

 

 

5 REPLIES
HPE Expert

Re: Termination due to error as " Abnormal termination, caused by mdrv process termination&quot

Hello Srihari

 

First use Microsoft Process Explorer to check the mdrv process properties (CPU and Memory) when running 7 Vusers.

If this looks ok, open the script in Vugen and check if a Parameter configuration has When Out of Values set to Abort Vuser.

You can also check/compare the working/failing Vuser logs (if available) or search the output.mdb for errors.

 

Hope this helps.

 

Regards,

Gerald Cussen

Respected Contributor

Re: Termination due to error as " Abnormal termination, caused by mdrv process termination&

Sure Gerald.

 

I will follow these steps and will let you know.

 

Regards,

Srihari

Advisor

Re: Termination due to error as " Abnormal termination, caused by mdrv process termination&

Those steps are unlikely to help you, though. This isn't the script being aborted, this is the loadrunner agent that runs the user being shot down due to some kind of internal error.

The most common cause of this sort of problem is memory corruption inside the script, either due to a bug in the scripting code, or a bug in loadrunner itself. The former is more likely, but the latter is not impossible. It is however impossible to know which it is.

One thing you can do is to set the "run virtual user as a process" option in the runtime settings. If it's set to "run as a thread", then a process termination like you experienced will end up terminating 50 virtual users at once, due to the way the threads are distributed across processes. That will not make debugging easier, and may hide errors you would otherwise see.
---
Discover the y-lib loadrunner support library:
https://github.com/randakar/y-lib
Respected Contributor

Re: Termination due to error as " Abnormal termination, caused by mdrv process termination&

Hi Randakar,

 

Thank you for advising on this issue.

 

This issue got resolved by increasing the pacing time between iterations.

 

Regards,

Srihari

Advisor

Re: Termination due to error as " Abnormal termination, caused by mdrv process termination"

That's not resolving it, that's hiding it.
Please be advised that that script might be corrupted and needs to be rebuild from scratch to actually get rid of the problem.
---
Discover the y-lib loadrunner support library:
https://github.com/randakar/y-lib