Why do I see the message "WARNING: The mjsscript detected that the number of processes allowed is limited by ulimit" when starting the mjs service on Linux?
2 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2018-3-15
编辑: MathWorks Support Team
2024-7-23
Why do I see the message "WARNING: The mjs script detected that the number of processes allowed is limited by ulimit" when starting the mjs service on Linux?
采纳的回答
MathWorks Support Team
2024-7-23
编辑:MathWorks Support Team
2024-7-22
The mjs service will issue this warning if the result of "ulimit -u" is not 'unlimited'. This command measures the number of processes or threads a user can launch on the machine. Depending on the value of "ulimit -u" the number of processes available may be too low to run your desired number of workers on a single machine.
An estimate of the number of processes needed on a machine is
128 *nW
(where nW is the number of workers you wish to run on the machine). If your limit is lower than the estimate then you may wish to adjust the process limit up, this may need assistance from your Linux administrator.
Information on ulimit recommendations and ways to save the settings are available here:
Note: prior to R2019b the mjs service was known as mdce and MATLAB Parallel Server was known as MATLAB Distributed Computing Server.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!