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. netxmsd seg-fault

netxmsd seg-fault

Scheduled Pinned Locked Moved Support
5 Posts 2 Posters 51.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.
  • R
    R
    rgkordia
    wrote on last edited by
    #1

    Fairly new install, 2.2.8 on Debian 9.3.

    Recently enabled the ping subagent, and configured a few Average Ping and Packet Loss monitors based on a template to around 8 nodes.

    Sep 14 19:49:38 netxms1 kernel: [337446.741930] ItemPoller[1969]: segfault at 52e ip 000000000000052e sp 00007f74c70ca3e8 error 14 in netxmsd[564b357d2000+93000]

    Anything else I can provide?

    1 Reply Last reply
    0
    • Z
      Z
      Tatjana Dubrovica
      wrote on last edited by
      #2

      Verify that debug packages for netxms are installed (if installed from the repository), set ulimit to unlimited and provide core dump.

      1 Reply Last reply
      0
      • R
        R
        rgkordia
        wrote on last edited by
        #3

        Ok, I've installed the 'netxms-server-dbg' package with apt.  Can you give me some instructions around the ulimit and where it will store the core files please?

        From the shell (as root), I issued 'ulimit unlimited' and then restarted netxms 'service netxmsd start' after installing the above package.  Is this sufficient?

        For info, two further crashes at seemingly random intervals:

        Sep 17 00:02:39 netxms1 kernel: [28869.032511] $POLLERS/WRK[1240]: segfault at 0 ip 000055e1da5d8db2 sp 00007f112f3b2ef0 error 4 in netxmsd[55e1da588000+93000]
        Sep 17 16:23:09 netxms1 kernel: [87698.483988] $DATACOLL/WRK[7189]: segfault at 0 ip 0000555c79c3f2b9 sp 00007f3bde1502b0 error 4 in netxmsd[555c79bf5000+93000]

        1 Reply Last reply
        0
        • Z
          Z
          Tatjana Dubrovica
          wrote on last edited by
          #4

          There are two options. You can set ulimit in console and run netxmsd by hands on this console or edit the netxmsd system file (add LimitCORE=infinity line). More information can be found there: https://unix.stackexchange.com/questions/345595/how-to-set-ulimits-on-service-with-systemd

          1 Reply Last reply
          0
          • R
            R
            rgkordia
            wrote on last edited by
            #5

            Thanks Tatjana. 

            Actually, since I ran netxmsd direct from the shell (without the -d flag) rather that from it's init script, it hasn't crashed since.

            I'll implement what you suggest and try again using service.

            Rich

            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