Hello,
On 25.09.17 15:57, Andrew Pogrebennyk wrote: > Hi, > using kamailio 4.4.5, we have noticed that the active_dialogs counter is > not accurate and there seems to be some kind of "leak" present at least > on higher loaded systems. > > For example, here active_dialogs was reporting just a bit over 1000 > dialogs, but the numbers of dialogs confirmed and not just do not sum up > together to that value: > > # grep -c 'state:: 1' dialogs_20170919_1712.txt > 5 > # grep -c 'state:: 2' dialogs_20170919_1712.txt > 62 > # grep -c 'state:: 3' dialogs_20170919_1712.txt > 0 > # grep -c 'state:: 4' dialogs_20170919_1712.txt > 531 > # grep -c 'state:: 5' dialogs_20170919_1712.txt > 27 > > What could be the possible reasons or issues that lead to that? > > We are thinking now about switching statistics collection to: > kamctl fifo dlg_list | grep -c 'state:: 4' > or reading the count directly from the database, as it seems to only > write the dialogs with state 4 to mysql and those numbers seem OKish. > > Any ideas? > do you have dialogs terminated due to timeout or via rpc commands? Cheers, Daniel -- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - www.asipto.com Kamailio World Conference - www.kamailioworld.com _______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
