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. nxshell

nxshell

Scheduled Pinned Locked Moved Support
5 Posts 2 Posters 16.4k 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.
  • B
    B
    BigBlue
    wrote on last edited by
    #1

    Hi,

    In version 2.2.2, nxshell takes 10s to launch on my server.
    In version 3.2.451 it takes 1m15s !

    Do you know why there's such a difference?

    By the way, is it possible to launch nxshell once and then have it run scripts on demand?

    Thanks

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

      Hi,

      there has not been any changes since 2.2.2 that could make such dramatic change in launch time.
      I would suggest to try running nxshell on a different system, preferrably clean installed to see if it makes any difference.

      I believe it should be possible to make jython program that starts, connects to the api and has some sort of interprocess communication to know what commands to run.

      1 Reply Last reply
      0
      • B
        B
        BigBlue
        wrote on last edited by
        #3

        Thank you for your response.

        I actually have 2 identical servers (same hardware, same OS, same jre...) one in version 2.2 and the other in version 3.2. After a lot of cross testing, the problem seems to be related to this version...
        Before installing version 3.2 on a third server, I ran java in debug mode on my server 3.2.
        The launch freezes more than 60 seconds on : "Loaded org.simpleframework.xml.core.Function"

        $ java -verbose -Dnetxms.server=127.0.0.1 -Dnetxms.login=xxxxxxxxx -Dnetxms.password='xxxxxxxxxxxxxxx' -jar ./nxshell-3.2.451.jar
        ...
        [Loaded org.simpleframework.xml.core.MethodScanner$1 from file:/data/infra/scripts/NetXMS/nxshell-3.2.451.jar]
        [Loaded org.simpleframework.xml.core.Function from file:/data/infra/scripts/NetXMS/nxshell-3.2.451.jar]
        [Loaded org.netxms.client.SessionNotification from file:/data/infra/scripts/NetXMS/nxshell-3.2.451.jar]
        ...
        

        Also, Java performance is nearly identical on both servers.

        1 Reply Last reply
        0
        • B
          B
          BigBlue
          wrote on last edited by
          #4

          I just found out I have the same problem running Management Console Binaries.
          1 minute longer on my server in version 3.2...

          1 Reply Last reply
          0
          • B
            B
            BigBlue
            wrote on last edited by
            #5

            Hi,,

            The problem was due to a library conflict...
            https://www.netxms.org/forum/general-support/nxdbmgr-init-segmentation-fault/msg28226/
            all is ok now.

            Thank you for your help.
            BB

            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