SNMPstats has a queued buffer that contains registration changes based on callbacks from usrloc. If one loads SNMPstats this queue grows forever and is only emptied when someone actually calls exactly the right parts of the MIB. At that time the queue is processed and an internal copy of the location table is produced and published. If one uses other parts of the MIB the queue keeps growing.
This can be turned off by disabling the modparam "Export_registrar".
Proposed changes: - Improve the README - Check if the processing of the queue can happen on timer instead of waiting for accidental checks.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/636
I think that documentation should be ok to consider this closed. Adding a flushing mechanism might be seen as an improvement, but also should be carefully designed not to conflict with the interval of pulling the records, so should be some params to set there either on mem size or time interval of not pulling the records.
Right now the setting of export_registrar to 1 is required, because the default is 0, so the one that made the setting should be aware of what it turns on.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/636#issuecomment-221526832
Closed #636.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/636#event-690031694