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 hangs every 7-8 days

netxms hangs every 7-8 days

Scheduled Pinned Locked Moved Support
13 Posts 3 Posters 23.7k 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.
  • V
    V
    Victor Kirhenshtein
    wrote on last edited by
    #2

    Hi!

    Please enable crash dumps on the server (see this page for instructions: http://wiki.netxms.org/wiki/UM::Troubleshooting).
    When server hangs next time, try to connect to it with nxadm tool and force server crash by entering command raise access. Then send resulting dump to me for analysis.

    Best regards,
    Victor

    1 Reply Last reply
    0
    • V
      V
      vmgracia
      wrote on last edited by
      #3

      thanks a lot for your support

      i do......

      1 Reply Last reply
      0
      • V
        V
        vmgracia
        wrote on last edited by
        #4

        Hi Victor

        here is the dump as you request...


        NetxmsLog.zip

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

          Hi!

          Are you using nxadm either manually or from some scripts? According to crash dump server crashed hen processing some command from nxadm.

          Best regards,
          Victor

          1 Reply Last reply
          0
          • V
            V
            vmgracia
            wrote on last edited by
            #6

            Hi Victor

            I did as you suggested above.

            Once the server stopped responding to any nxmc (locally, W7 and android) i used manually the nxadm tool and forced server crash by entering command raise access

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

              Sorry, I forgot that it was intentional crash 🙂

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

                I probably found the deadlock. I'll fix it in upcoming 1.2.9 release. I have some additional questions though:

                1. what database you are using as backend?
                2. do you have option EnableMultipleDBConnections set to 1?

                Best regards,
                Victor

                1 Reply Last reply
                0
                • V
                  V
                  vmgracia
                  wrote on last edited by
                  #9

                  Hi Victor

                  Thanks very much for this excelent work.

                  1. sqllite
                  2. EnableMultipleDBConnections is set to 1
                  1 Reply Last reply
                  0
                  • V
                    V
                    Victor Kirhenshtein
                    wrote on last edited by
                    #10

                    Internal state was a bit strange at first glance, this is why I was asking. But SQLite backend explains it. SQLite driver is different from all other drivers and having multiple db connections has no effect on it because internally all queries done from single thread anyway. Because of that systems with sqlite backend had much more chance to encounter deadlock you encountered.

                    Best regards,
                    Victor

                    1 Reply Last reply
                    0
                    • V
                      V
                      vmgracia
                      wrote on last edited by
                      #11

                      I'm thinking to migrate to MySql, does this improve the situation?

                      Regards

                      V.G.

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

                        Deadlock is already fixed, so if you don't have performance issues with sqlite, you can keep running server on it.

                        Best regards,
                        Victor

                        1 Reply Last reply
                        0
                        • S
                          S
                          Sympology
                          wrote on last edited by
                          #13

                          Hi just found this thread, I'm also having issues with this version stopping about once a week. I'm running MySQL as backend, but I'll wait to see if the next version fixes it and give you feedback then.
                          Keep up the good work, you're doing a great job!

                          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