Server stop accepting new clients
-
We are randomly getting problem with clients on different computers hang during login with NetXMS client.
This connection session do not timeout and we are not able to connect any new clients before server restart1: Is it possible to boot/kick a client session with nxadm or other command?
2: Is there a limit/config for max active client sessions?
3: Would it be a problem connect nxjclient 1.2.16 to a server v1.2.17? -
Found answer to "1": possible via Server Console with "kill <session>"
But it does not end the session.
netxmsd: show sess CLIENT SESSIONS ============================================================ ID STATE CIPHER CLTYPE USER [CLIENT] 0 CMD_GET_OBJECTS NONE DESKTOP [email protected] [nxjclient/1.2.16 (Linux 3.2.54; libnxcl 1.2.16)] 1 CMD_GET_OBJECTS AES-128 DESKTOP [email protected] [nxmc/1.2.17 (Windows Server 2012 R2 6.3; libnxcl 1.2.17)] 2 CMD_GET_OBJECTS NONE DESKTOP [email protected] [nxjclient/1.2.9 (Linux 3.13.0-66-generic; libnxcl 1.2.9)] 3 CMD_GET_OBJECTS AES-128 DESKTOP [email protected] [nxmc/1.2.17 (Windows Server 2012 R2 6.3; libnxcl 1.2.17)] 4 idle NONE DESKTOP [email protected] [nxjclient/1.2.16 (Linux 3.16.0-4-amd64; libnxcl 1.2.16)] 5 CMD_GET_OBJECTS AES-128 DESKTOP [email protected] [nxmc/1.2.16 (Windows 8 6.2; libnxcl 1.2.16)] 6 idle AES-256 DESKTOP [email protected] [nxjclient/1.2.16 (Linux 3.2.0-4-amd64; libnxcl 1.2.16)] 7 CMD_GET_OBJECTS AES-128 DESKTOP [email protected] [nxmc/1.2.17 (Windows 8 6.2; libnxcl 1.2.17)] 8 idle AES-256 DESKTOP [email protected] [nxjclient/1.2.16 (Linux 3.2.0-43-generic; libnxcl 1.2.16)] 9 idle AES-256 DESKTOP [email protected] [nxjclient/1.2.16 (Linux 3.16.0-4-amd64; libnxcl 1.2.16)] 10 idle NONE DESKTOP [email protected] [nxjclient/1.2.16 (Linux 3.2.0-4-amd64; libnxcl 1.2.16)] 11 CMD_GET_OBJECTS AES-128 DESKTOP [email protected] [nxjclient/1.2.9 (Linux 3.2.0-37-generic; libnxcl 1.2.9)] 12 CMD_GET_OBJECTS AES-128 DESKTOP [email protected] [nxmc/1.2.16 (Linux 3.2.0-37-generic; libnxcl 1.2.16)] 13 CMD_GET_OBJECTS AES-128 DESKTOP [email protected] [nxmc/1.2.16 (Windows 8 6.2; libnxcl 1.2.16)] 14 CMD_GET_OBJECTS AES-128 DESKTOP [email protected] [nxmc/1.2.17 (Windows 8.1 6.3; libnxcl 1.2.17)] 15 CMD_GET_OBJECTS NONE DESKTOP [email protected] [nxjclient/1.2.9 (Linux 3.13.0-66-generic; libnxcl 1.2.9)] 16 CMD_GET_OBJECTS NONE DESKTOP [email protected] [nxjclient/1.2.16 (Linux 3.2.54; libnxcl 1.2.16)] 17 CMD_GET_OBJECTS NONE DESKTOP [email protected] [nxjclient/1.2.16 (Linux 3.2.54; libnxcl 1.2.16)] 18 CMD_GET_OBJECTS NONE DESKTOP [email protected] [nxjclient/1.2.9 (Linux 3.13.0-66-generic; libnxcl 1.2.9)] 19 CMD_GET_OBJECTS AES-128 DESKTOP [email protected] [nxmc/1.2.17 (Windows 8 6.2; libnxcl 1.2.17)] 20 idle NONE DESKTOP [email protected] [nxalarm/1.2.17 (Linux 3.13.0-63-generic; libnxcl 1.2.17)] -
Hi,
from mane sessions stuck in CMD_GET_OBJECTS most likely there is a deadlock in a server. The only way to recover from that situation is to restart the server. I would suggest to upgrade to 2.0-RC2 or wait for 2.0 release - we have fixed some deadlocks in 2.0 branch so there are good chance problem will gone.
Best regards,
Victor
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login