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 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 11 Dic 2025 alle 0:00
Modificato: MathWorks Support Team circa 10 ore fa
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.
 

Più risposte (0)

Categorie

Scopri di più su Manage Products in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by