mdce start throws ulimit errors

조회 수: 4 (최근 30일)
Lachlan Simpson
Lachlan Simpson 2015년 6월 10일
답변: Lachlan Simpson 2015년 7월 27일
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