Handle state – limits reached

Forum / NoMachine for Linux / Handle state – limits reached

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #51276
    datapata
    Participant

    Hello! I saw another post with a similar scenario after upgradering from Ubuntu 22 to 24. I’m running the free version and only connect one session at the time. If I have connected once and try to reconnect, the client see a never ending loading spinner. On the server side. I see log messages related to “limit reached”, but I have no active sessions from any client as far as I’m aware. Manually restarting nxserver through terminal will allow me to connect again.

    Here is a chunk of the nxserver.log output during reconnect if someone is able to help me to interpret it:

    275420 275420 2025-01-05 09:48:53 870.753 NXSERVER NXLimits: Connections 1/1 user 1/0 node 1/0.

    275420 275420 2025-01-05 09:48:53 870.962 NXSERVER Session start state machine: Transition from ‘sessionCreateInDB’ with event ‘limitsReached’ is ‘handleLimitsReached’.

    275420 275420 2025-01-05 09:48:53 871.139 NXSERVER Session start state machine: Handling state: handleLimitsReached.

    275420 275420 2025-01-05 09:48:53 871.324 NXSERVER Handle state: limits reached.

    275420 275420 2025-01-05 09:48:53 871.648 NXSERVER NXLogin: Get current user.

    275420 275420 2025-01-05 09:48:53 871.838 NXSERVER Handle connections limit reached.

    275420 275420 2025-01-05 09:48:53 871.986 NXSERVER Searching the oldest connected session.

    275420 275420 2025-01-05 09:48:53 872.221 NXSERVER NXRedis: Sending: command=evalsha,service=db,key=cd4aeb2d1c994447a83ff2e7134cc8bac5e2f991,field=0,field=running

    275420 275420 2025-01-05 09:48:53 873.138 NXSERVER Get session ID ’40AD3B7180224A7C0ED127BAC1B5CB81′.

    275420 275420 2025-01-05 09:48:53 873.354 NXSERVER Cannot find oldest session.

    275420 275420 2025-01-05 09:48:53 873.512 NXSERVER The oldest connection closed. Continue session start.

    275420 275420 2025-01-05 09:48:53 873.693 NXSERVER Session start state machine: Transition from ‘handleLimitsReached’ with event ‘limitsHandled’ is ‘waitingOnNextCheck’.

    275420 275420 2025-01-05 09:48:53 873.906 NXSERVER Session start state machine: Stop in state: waitingOnNextCheck

    275420 275420 2025-01-05 09:48:53 874.057 NXSERVER Get command state machine: Waiting in state ‘waitingToFinishHandlingCommand’.

    275420 275420 2025-01-05 09:48:53 874.242 NXSERVER NXShell: Registering descriptor FD#8 with callback GetCommandStateMachine::callbackFromStdin (GetCommandStateMachine).

    275420 275420 2025-01-05 09:48:53 874.491 NXSERVER NXShell: Registering descriptor FD#8 with callback GetCommandStateMachine::callbackStdinClosed (GetCommandStateMachine).

    275420 275420 2025-01-05 09:48:53 874.656 NXSERVER NXShell: Check state machines statuses.

    275420 275420 2025-01-05 09:48:53 874.866 NXSERVER Get command state machine: Waiting in state ‘waitingToFinishHandlingCommand’.

    275420 275420 2025-01-05 09:48:53 875.002 NXSERVER NXShell: Registering descriptor FD#8 with callback GetCommandStateMachine::callbackFromStdin (GetCommandStateMachine).

    275420 275420 2025-01-05 09:48:53 875.167 NXSERVER NXShell: Registering descriptor FD#8 with callback GetCommandStateMachine::callbackStdinClosed (GetCommandStateMachine).

    275420 275420 2025-01-05 09:48:53 875.351 NXSERVER NXShell: Start sleep in select.

    275420 275420 2025-01-05 09:48:53 875.653 NXSERVER NXShell: Machine ‘SessionStartStateMachine::getTimeout’ timeout ‘0.1’.

    275420 275420 2025-01-05 09:48:53 875.820 NXSERVER NXShell: Machine ‘GetCommandStateMachine::getTimeout’ timeout ‘inf’.

    275420 275420 2025-01-05 09:48:53 875.962 NXSERVER NXShell: Minimum timeout ‘0.1’.

    275420 275420 2025-01-05 09:48:53 876.215 NXSERVER NXParser: adding handle ‘4’ FD#4 to the selector.

    275420 275420 2025-01-05 09:48:53 876.405 NXSERVER Adding callback for FD#8: GetCommandStateMachine::callbackFromStdin.

    275420 275420 2025-01-05 09:48:53 876.590 NXSERVER NXParser: adding handle ‘8’ FD#8 to the selector.

    275420 275420 2025-01-05 09:48:53 876.786 NXSERVER Adding callback with type ‘Close’ for FD#8: GetCommandStateMachine::callbackStdinClosed.

    275420 275420 2025-01-05 09:48:53 876.927 NXSERVER NXParser: setting callback type Close for handler FD#8 to GetCommandStateMachine::callbackStdinClosed.

    275420 275420 2025-01-05 09:48:53 877.134 NXSERVER NXParser: main loop started with timeout 0.1.

    275420 275420 2025-01-05 09:48:53 877.408 NXSERVER NXParser: set timeout to : 100.

    275420 275420 2025-01-05 09:48:53 978.166 NXSERVER NXParser: timed out. Exiting from main loop with code 1

    275420 275420 2025-01-05 09:48:53 978.730 NXSERVER NXShell: Check state machines statuses.

    #51300
    Britgirl
    Keymaster

    Hi, please enable debug and send us the logs from the server machine. You can extract them using the instructions here: https://kb.nomachine.com/DT07S00243

    Send them to forum[at]nomachine[dot]com. Please use the title of this topic as the subject of your email. Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Please login .