<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE-AT link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hallo Thomas,<o:p></o:p></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I just know this problem in correlation to redis counter.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>After flush the redisdb counter, it was fine.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>I am not sure if a system reboot also clear the redis counter too, but maybe this helps you a bit:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Searching for the problem:<o:p></o:p></span></p><p class=MsoNormal><code><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;border:none windowtext 1.0pt;padding:0cm'># cat /var/log/ngcp/kamailio-proxy.log | grep -i 'concurrent'</span></code><code><span style='font-size:10.5pt;font-family:Consolas;border:none windowtext 1.0pt;padding:0cm'><o:p></o:p></span></code></p><p class=MsoNormal><code><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;border:none windowtext 1.0pt;padding:0cm'><o:p> </o:p></span></code></p><p class=MsoNormal><span lang=EN-US>Solution:</span><o:p></o:p></p><p class=MsoNormal><code><span style='font-size:10.5pt;font-family:Consolas;border:none windowtext 1.0pt;padding:0cm'># redis-cli -n 3 FLUSHDB<o:p></o:p></span></code></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Or try this:<o:p></o:p></span></p><p class=MsoNormal style='line-height:15.0pt;vertical-align:baseline'><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;color:#333333;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:DE-AT'># ngcp-dlgcnt-check</span><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;color:#333333;mso-fareast-language:DE-AT'><o:p></o:p></span></p><p class=MsoNormal style='line-height:15.0pt;vertical-align:baseline'><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;color:#333333;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:DE-AT'>you will see the list of hanging calls that should be clean</span><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;color:#333333;mso-fareast-language:DE-AT'><o:p></o:p></span></p><p class=MsoNormal style='line-height:15.0pt;vertical-align:baseline'><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;color:#333333;mso-fareast-language:DE-AT'> <o:p></o:p></span></p><p class=MsoNormal style='line-height:15.0pt;vertical-align:baseline'><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;color:#333333;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:DE-AT'># ngcp-dlgcnt-check -r</span><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;color:#333333;mso-fareast-language:DE-AT'><o:p></o:p></span></p><p class=MsoNormal style='line-height:15.0pt;vertical-align:baseline'><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;color:#333333;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:DE-AT'>You will remove those calls from dialog list and decrease the counters properly.</span><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;color:#333333;mso-fareast-language:DE-AT'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Lg<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=DE style='mso-fareast-language:DE-AT'>Von:</span></b><span lang=DE style='mso-fareast-language:DE-AT'> Thomas Georg via Spce-user <<a href="mailto:spce-user@lists.sipwise.com">spce-user@lists.sipwise.com</a>> <br><b>Gesendet:</b> Donnerstag, 22. April 2021 13:18<br><b>An:</b> <a href="mailto:spce-user@lists.sipwise.com">spce-user@lists.sipwise.com</a><br><b>Betreff:</b> [Spce-user] Suddenly many SIP-Accounts are "busy" (Concurrent max calls exceeded)<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=DE>Hi,<o:p></o:p></span></p><p class=MsoNormal><span lang=DE><o:p> </o:p></span></p><p class=MsoNormal><span lang=DE>since 3 hours our customers complain about busy lines (in and outgoing).<o:p></o:p></span></p><p class=MsoNormal><span lang=DE>This happens to customers who have „max concurrent calls“ set.<o:p></o:p></span></p><p class=MsoNormal><span lang=DE>I tried with one customer which definitively did no call during this test and I always got the message „Concurrent max calls[2] exceeded[10]“ until i raised the limit to 10 or above then a call was possible.<o:p></o:p></span></p><p class=MsoNormal><span lang=DE>We recognized that at exactly at 11:00 the answer seizure rate felt from 62% to 55%. Since then we also get complaints.<o:p></o:p></span></p><p class=MsoNormal><span lang=DE>I restarted the system but the problem is still there.<o:p></o:p></span></p><p class=MsoNormal><span lang=DE><o:p> </o:p></span></p><p class=MsoNormal><span lang=DE>We currently set all complaining customers to more concurrent calls, but this should be only a workaround.<o:p></o:p></span></p><p class=MsoNormal><span lang=DE><o:p> </o:p></span></p><p class=MsoNormal><span lang=DE>What can I do to debug this? Is there a possibility to show the „real“ current calls per user/total?<o:p></o:p></span></p><p class=MsoNormal><span lang=DE><o:p> </o:p></span></p><p class=MsoNormal><span lang=DE>Regards<o:p></o:p></span></p><p class=MsoNormal><span lang=DE>Thomas<o:p></o:p></span></p><p class=MsoNormal><span lang=DE><o:p> </o:p></span></p></div></body></html>