mdce start throws ulimit errors

3 次查看(过去 30 天)
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?

采纳的回答

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

更多回答(1 个)

Ganesh Gaonkar
Ganesh Gaonkar 2015-6-12
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:

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by