Connection problem server console
-
Hi,
running 3.5.90 and the connection with management is unstable, if i run 'show sessions' in server console the output can stop halfway and then after a while the entire client gets Cannot open server console: Request timed out.
If all the output from sessions is recieved it never returns to prompt need to close the server console tab and open it again to type new command -
Hi,
What would happen if you issue
nxadm -c "show sessions"from server command line? Will it reliably produce output there?
-
-
Let's try to get some logging information. Please issue in server console (or via nxadm):
debug 0
debug client.* 8then try show sessions again and share server log file for that moment.
Also, please attach console log file - it's located in ~/.nxmc/data/.metadata/.log
-
-
-
-
Is your server running on Linux? If yes, can you try getting some more debug information - when you see client hanging on "show sessions", try running
https://github.com/netxms/netxms/blob/master/tools/capture_netxmsd_threads.sh
script on the server. The script requires gdb to be installed on server.
Please run this script 3 times with interval about 30 seconds between.
Each run should produce a file in /tmp
Please share these files. -
Server is running on Windows
Though the 30sec interval in running this i don't how that can show anything, if the console times out i can just restart management console and will work instant there is no long running hanging it is just the current network connection for the session that times out.
-
On Windows you can create Dump file for netxms process from task manager. Please do this right after you see that 'show sessions' stopped halfway.
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