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?
Hi,
no problems using nxadm -c "show sessions" on server
Let's try to get some logging information. Please issue in server console (or via nxadm):
debug 0
debug client.* 8
then 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
Here is the server log.
The console log has no entries for this, everything in this log is from earlier versions.
tested more and some times console is stable except from that prompt does not show half the time after command but i can still run command again, close tab and open console again then it is unstable again very odd
manage to get the timeout with only 1 client connected so less noise in log.
This time show sessions had no problem but when i typed help, no data was recieved to console it stoped working as soon as i hit enter.
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.