Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Connection problem server console

Connection problem server console

Scheduled Pinned Locked Moved Support
10 Posts 2 Posters 100.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    M
    MarcusH
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • F
      F
      Filipp Sudanov
      wrote on last edited by
      #2

      Hi,

      What would happen if you issue
      nxadm -c "show sessions"

      from server command line? Will it reliably produce output there?

      1 Reply Last reply
      0
      • M
        M
        MarcusH
        wrote on last edited by
        #3

        Hi,

        no problems using nxadm -c "show sessions" on server

        1 Reply Last reply
        0
        • F
          F
          Filipp Sudanov
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          • M
            M
            MarcusH
            wrote on last edited by
            #5

            Here is the server log.

            The console log has no entries for this, everything in this log is from earlier versions.


            log.txt

            1 Reply Last reply
            0
            • M
              M
              MarcusH
              wrote on last edited by
              #6

              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

              1 Reply Last reply
              0
              • M
                M
                MarcusH
                wrote on last edited by
                #7

                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.


                log2.zip

                1 Reply Last reply
                0
                • F
                  F
                  Filipp Sudanov
                  wrote on last edited by
                  #8

                  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.

                  1 Reply Last reply
                  0
                  • M
                    M
                    MarcusH
                    wrote on last edited by
                    #9

                    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.

                    1 Reply Last reply
                    0
                    • F
                      F
                      Filipp Sudanov
                      wrote on last edited by
                      #10

                      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.

                      1 Reply Last reply
                      0

                      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
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      Powered by NodeBB Contributors
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups