Why do the locks generated by the MCR take a long time to expire while running many instances of an executable generated using the MATLAB Compiler?
Show older comments
I am running many instances of my MATLAB Compiler generated executable, and these processes are launched on different machines. All of them use the same MCR, installed on a shared network resourcel.
When I run about 30 instances, all the processes get the requisite read and write locks from the filesystem on the MCR cache directory, and release them at the end of their lifetime.
However, when I have more than 40 instances of this application running at the same time on different machines, the processes get the locks they require, and generate the desired output. The release of these locks, however, takes a very long time, and, as a result, all these processes are waiting to terminate.
Accepted Answer
More Answers (0)
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!