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 vues (au cours des 30 derniers jours)
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

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 11 Déc 2025 à 0:00
Modifié(e) : MathWorks Support Team il y a environ 7 heures
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.
 

Plus de réponses (0)

Catégories

En savoir plus sur Manage Products dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by