After a commit - "ipcs -q" messages is slow to zero out
Posted: Wed Apr 12, 2017 3:53 pm
This is not new. This is what we consider normal based on current experiences in Nagios XI. I just need to ask.
After I make changes in the Nagios XI GUI, adding or removing hosts, services, or anything, I run an "Apply Configuration."
If I am watching the ipcs queue I see the messages count go from zero to 270K or thereabouts. Then it counts back to zero slowly over the next 10 to 30 minutes.
Once again, we call this normal here as this is the behavior I have been seeing for a very long time. I usually run this to see it.
But is it normal?? Why does it have to buffer all those messages when doing a commit of changes. It is as though the entire set of data has to be sent to the DB again, versus just sending a delta of the changes. Sometimes I see the messages grow to very large backlog that needs to be sent to MySQL. I have seen it grow to over a million messages in the queue one time.
Is this one of the items being addressed in future code that will make updates not stop Nagios status page from displaying while an update happens?
If not, should it be?
My system is not broken. It is working quite nicely. I just wonder about these things sometimes. Sometimes I wonder what normal is.
Thanks
Steve B
After I make changes in the Nagios XI GUI, adding or removing hosts, services, or anything, I run an "Apply Configuration."
If I am watching the ipcs queue I see the messages count go from zero to 270K or thereabouts. Then it counts back to zero slowly over the next 10 to 30 minutes.
Once again, we call this normal here as this is the behavior I have been seeing for a very long time. I usually run this to see it.
Code: Select all
watch -n 4 "ipcs -q"Is this one of the items being addressed in future code that will make updates not stop Nagios status page from displaying while an update happens?
If not, should it be?
My system is not broken. It is working quite nicely. I just wonder about these things sometimes. Sometimes I wonder what normal is.
Thanks
Steve B