Support,
Over the past few months our NagiosXI server keeps crashing. From what I can see it appears the ndo2db messages stop processing and fills the memory on the server and then it crashes. This happens randomly, it happened sometime early this morning and I rebooted the server and then about 30 mins ago I was watching the 'ipcs -q' and the number of messages was just continuing climb. So I stopped nagios service and restarted ndo2db service and then started nagios service back up and all is well. I have applied the 'https://support.nagios.com/kb/article/n ... d-139.html' which has only seemed to prolong the crash. I have enabled ndo2db debugging but I have only see the sql insert commands in there.
Any ideas what might be the issue or where to troubleshoot this issue?
nagiosxi crashing
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: nagiosxi crashing
Hello, @adt7108. If your system is large enough you may need to increase msgmnb and msgmax even more. I'd recommend to double them:
Otherwise, please send in your nagios xi profile so that I can review it:
To send us your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and attach it to your next post. Or you can upload it to a cloud storage of your choice and share a link with me via PM. If you do that please post something in this thread to bring it back up in the support queue.
Code: Select all
sed -i 's/^kernel\.msgmnb.*/kernel\.msgmnb = 524288000 /g' /etc/sysctl.conf
sed -i 's/^kernel\.msgmax.*/kernel\.msgmax = 524288000 /g' /etc/sysctl.confTo send us your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and attach it to your next post. Or you can upload it to a cloud storage of your choice and share a link with me via PM. If you do that please post something in this thread to bring it back up in the support queue.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: nagiosxi crashing
Thank @npolovenko I will give that a try. The server is pretty beefy so well see what happens.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: nagiosxi crashing
Let us know!adt7108 wrote:well see what happens.
Re: nagiosxi crashing
So far it seems fixed, no crashes. You may close this, if it happens again. I will reopen in the customer section as I have access to that forum section now
.
-
kyang
Re: nagiosxi crashing
Sounds good! I'll be closing this thread!
If you have any more questions, feel free to create another thread.
Thanks for using the Nagios Support Forum!
If you have any more questions, feel free to create another thread.
Thanks for using the Nagios Support Forum!