mdce start throws ulimit errors

2 views (last 30 days)
When starting mdce, there are ulimit problems
user@mdcs-head:/usr/local/MATLAB/R2015a/toolbox/distcomp/bin$ sudo ./mdce start
WARNING: The mdce script detected that the number of processes allowed is limited by ulimit. Be sure that the limit of processes for the ROOT user (or the user running the mdce service) is set to either "unlimited" or at least 128 * W, where W is the maximum number of MDCS workers that will run on this machine.
I looked into raising ulimit and found this description on how to increase it.
I edited /etc/sysctl.conf to keep the changes permanent.
I rebooted the machine.
./mdce still throws the same error.
I re-installed everything, but it still throws the same error.
I re-read the error and was intrigued that it distinguished users. So I did another search and found that ulimit can be run per user :
user@mdcs-head:/usr/local/MATLAB/R2015a/toolbox/distcomp/bin$ ulimit
unlimited
ubuntu@mdcs-head:/usr/local/MATLAB/R2015a/toolbox/distcomp/bin$ sudo -i
root@mdcs-head:~# ulimit
unlimited
Ok. So both users are unlimited. MDCS will run as root.
What's with the error?

Accepted Answer

Lachlan Simpson
Lachlan Simpson on 27 Jul 2015
The actual problem was that ulimit is insufficient: need to use ulimit -a to see full values and respond accordingly.

More Answers (1)

Ganesh Gaonkar
Ganesh Gaonkar on 12 Jun 2015
The warning message sent by you shows that you are getting a communication failure.As a first step, validate your cluster profile and make sure that all the tests pass. If some tests fail, this would mean that this is an issue with your MDCS installation and configuration. You can do the validation tests as follows: Go to Parallel (under Home Tab in MATLAB Ribbon on top) ->Manage Cluster Profiles ->Validate.
If all validation tests pass, Refer the below links . These can help you with some debugging steps:

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!