netxmsd seg-fault
-
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?
-
Verify that debug packages for netxms are installed (if installed from the repository), set ulimit to unlimited and provide core dump.
-
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] -
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
-
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