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. NetXMS Server Crashing

NetXMS Server Crashing

Scheduled Pinned Locked Moved Support
39 Posts 3 Posters 153.2k 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.
  • N
    N
    Netvoid
    wrote on last edited by
    #30

    Still getting hundreds of agent timeouts per minute with negligible amounts of visible system resource utilization.

    Also, even the console and command line nxadm -i timeouts are very common. Even when running the console locally.

    For example the, "show queues" command at times never responds on the server. If I close it and run it a few more times it will eventually give results. According to the results nothing is queued.

    The netxmsd process is at about 300mb and holding, the server has been running for at least 4 days now without a crash. It takes about 5-10 timeouts and retries with the console app to get it connected.


    netxms_debug_1.JPG

    netxms_debug_2.JPG

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #31

      Few additional questions:

      Do you have a Windows firewall running on server machine?
      Is there any error messages in netxmsd log?

      Best regards,
      Victor

      1 Reply Last reply
      0
      • N
        N
        Netvoid
        wrote on last edited by
        #32

        Yes windows firewall is running, disabled for domain, enabled in private and public. Not currently logging.
        Don't see any netxmsd log / error.

        1 Reply Last reply
        0
        • V
          V
          Victor Kirhenshtein
          wrote on last edited by
          #33

          Could you please try to install updated build: https://www.netxms.org/download/rc/netxms-1.0.8-rc2.exe. If it will not solve the problem, please set logging to file (by setting LogFile = some_file in netxmsd.conf) and run netxmsd.exe with -D 6 command line option (this will enable debug output). It will generate a lot of messages in the log file - I'm interested in messages containing words "agent unreachable, error=".

          Best regards,
          Victor

          1 Reply Last reply
          0
          • N
            N
            Netvoid
            wrote on last edited by
            #34

            Okay performed the update and I pretty much don't see a difference.

            Here are a variety of entries for the error you were asking about.

            This is the most common one, lots of these 98% is this.

            agent unreachable, error=910, socketError=0

            Then we have some of these,

            agent unreachable, error=500, socketError=0

            A few of these,

            agent unreachable, error=500, socketError=10053
            agent unreachable, error=500, socketError=10054

            1 Reply Last reply
            0
            • V
              V
              Victor Kirhenshtein
              wrote on last edited by
              #35

              Hi!

              I'm still unable to reproduce this issue or find any clue to the source of the problem. Please try to replace libnetxms.dll to attached one - it has another changes in communication code. At least, it may give more meaningful error codes in "agent unreachable" messages in the log.

              Also, do you experience this issue from the beginning, or it appears after latest upgrades?

              Best regards,
              Victor


              libnetxms.dll

              1 Reply Last reply
              0
              • N
                N
                Netvoid
                wrote on last edited by
                #36

                It all seemed to start after we went from about 150-200 agents to about 400+ agents.

                I'm going to be moving the system to a 32 bit server today or tomorrow to see if that elimates the connection issue, I don't think it would be related but worth a try.

                1 Reply Last reply
                0
                • V
                  V
                  Victor Kirhenshtein
                  wrote on last edited by
                  #37

                  It also could be Windows 2008 issue. We have installation in Riga with 700+ agents - and I never seen issues like that. They are running on Windows Server 2003 x86.

                  Best regards,
                  Victor

                  1 Reply Last reply
                  0
                  • S
                    S
                    Sumit Pandya
                    wrote on last edited by
                    #38

                    Do you guys has any reluctance on my suggestion put about

                    1. Microsoft Loopback adapter
                    2. Registry values for MaxUserPort and TcpTimedWaitDelay
                    3. Using SO_REUSEADDR by setsockopt()
                      Please give them a try. I undestand that some setup have much higher load then current setup but you need to understand that every setup/network is different!!!
                    1 Reply Last reply
                    0
                    • V
                      V
                      Victor Kirhenshtein
                      wrote on last edited by
                      #39

                      Hi!

                      Last special build uses SO_REUSEADDR option - it makes no difference. As for MaxUserPort, things are different on Windows 2008 - http://support.microsoft.com/kb/929851. So by default we should have about 16000 ports for outgoing connections, which is much more then required.

                      Best regards,
                      Victor

                      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