Termination due to error as " Abnormal termination, caused by mdrv process termination" . (451 Views)
Reply
Respected Contributor
Srihari_Amgen
Posts: 424
Registered: ‎11-25-2011
Message 1 of 6 (451 Views)

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

 

 

Please use plain text.
HP Expert
Gerald Cussen
Posts: 18
Registered: ‎04-11-2001
Message 2 of 6 (414 Views)

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

Please use plain text.
Respected Contributor
Srihari_Amgen
Posts: 424
Registered: ‎11-25-2011
Message 3 of 6 (408 Views)

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

Please use plain text.
Advisor
randakar
Posts: 15
Registered: ‎11-22-2013
Message 4 of 6 (394 Views)

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
Please use plain text.
Respected Contributor
Srihari_Amgen
Posts: 424
Registered: ‎11-25-2011
Message 5 of 6 (353 Views)

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

Please use plain text.
Advisor
randakar
Posts: 15
Registered: ‎11-22-2013
Message 6 of 6 (343 Views)

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
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation