Why does the Network License Manager exit with message 'Warning: Maximum connections to the server has reached. Please disconnect some clients from the server"?
42 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2018-1-17
编辑: MathWorks Support Team
2025-12-16,21:22
Why does the network license manager quit with the following or similar message:
ERROR: (lmgrd) Warning: Maximum connections to the server has reached. Please disconnect some clients from the server (MLM) Lost communications with lmgrd. Communications error. Connection closed. Exiting. (MLM) EXITING DUE TO SIGNAL 28 Exit reason 5
采纳的回答
MathWorks Support Team
2025-12-11,0:00
编辑:MathWorks Support Team
11 minutes 前
This has been a known issue in earlier versions of the network license manager. The error message being displayed seems like a failure with too many open file descriptors. While there are no guaranteed solutions, the best thing is to try the latest version of the license manager for MATLAB.
How do I update the Network License Manager?
An alternative solution would be to set a LM_SERVER_HIGHEST_FD environment variable on the server machine and set it to 1023. The environment variable is used to set the highest file descriptor value, above which the license server will not access.
This will not prevent the message from appearing in the log file, but it should help prevent the crash.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Manage Products 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!