<div dir="ltr"><div dir="ltr"><div dir="ltr">Wadii, <br></div><div dir="ltr"><br></div><div>this is the beginning of route[0]</div><div><br></div><div><div>route {</div><div><span style="white-space:normal"><span style="white-space:pre"> </span>if (!mf_process_maxfwd_header("70") && $retcode==-1)</span></div><div><span style="white-space:normal"><span style="white-space:pre"> </span>{</span></div><div><span style="white-space:normal"><span style="white-space:pre"> </span>sl_send_reply("483","Too Many Hops");</span></div><div><span style="white-space:normal"><span style="white-space:pre"> </span>xlog("callid [$ci] from [$fU] to [$tU] loop detected");</span></div><div><span style="white-space:normal"><span style="white-space:pre"> </span>exit;</span></div><div><span style="white-space:normal"><span style="white-space:pre"> </span>};</span></div><div><span style="white-space:normal"><span style="white-space:pre"> </span>force_rport();</span></div><div><span style="white-space:normal"><span style="white-space:pre"> </span>t_on_failure("Trunk_On_Error");</span></div><div><br></div><div><span style="white-space:normal"><span style="white-space:pre"> </span>if (has_totag()) {</span></div><div><span style="white-space:normal"><span style="white-space:pre"> </span>loose_route();</span></div><div><span style="white-space:normal"><span style="white-space:pre"> </span>t_relay();</span></div><div><span style="white-space:normal"><span style="white-space:pre"> </span>exit;</span></div><div><span style="white-space:normal"><span style="white-space:pre"> </span>}</span></div><div><span style="white-space:normal"><span style="white-space:pre"> </span>record_route();</span></div><div><span style="white-space:normal"><span style="white-space:pre"> </span>create_dialog("B");</span></div></div><div><span style="white-space:normal"><br></span></div><div><span style="white-space:normal">so I don't think that this is related ? </span></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op do 18 apr 2024 om 16:12 schreef Wadii ELMAJDI | Evenmedia <<a href="mailto:wadii@evenmedia.fr">wadii@evenmedia.fr</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg2227899877037098286">
<div lang="FR" style="overflow-wrap: break-word;">
<div class="m_6874564750590378708WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial,sans-serif;color:rgb(34,34,34);background:white">Calling exit() during the initial request and right before creating the dialog also increments the drop_requests statistic</span><span lang="EN-US" style="font-size:11pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt"><u></u> <u></u></span></p>
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif">De :</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif"> Users <<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>>
<b>De la part de</b> Ben Newlin<br>
<b>Envoyé :</b> jeudi 18 avril 2024 15:59<br>
<b>À :</b> OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><br>
<b>Objet :</b> Re: [OpenSIPS-Users] question on core statistics.<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt">Are you calling drop() anywhere in your script?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt"><a href="https://www.opensips.org/Documentation/Script-CoreFunctions-3-4#toc13" target="_blank">https://www.opensips.org/Documentation/Script-CoreFunctions-3-4#toc13</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:black">Ben Newlin</span><span lang="EN-US" style="font-size:11pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt"><u></u> <u></u></span></p>
<div id="m_6874564750590378708mail-editor-reference-message-container">
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0cm 0cm">
<p class="MsoNormal" style="margin-bottom:12pt"><b><span lang="EN-US" style="font-size:12pt;color:black">From:
</span></b><span lang="EN-US" style="font-size:12pt;color:black">Users <<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>> on behalf of Johan De Clercq <<a href="mailto:Johan@democon.be" target="_blank">Johan@democon.be</a>><br>
<b>Date: </b>Thursday, April 18, 2024 at 5:27 AM<br>
<b>To: </b>OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><br>
<b>Subject: </b>Re: [OpenSIPS-Users] question on core statistics.<u></u><u></u></span></p>
</div>
<div>
<div>
<div>
<div>
<div>
<table border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tbody>
<tr>
<td style="border:1pt solid rgb(182,0,0);background:white;padding:0.75pt">
<p class="MsoNormal"><b><span style="font-size:12pt;font-family:Calibri,sans-serif;color:rgb(182,0,0)"> EXTERNAL EMAIL - Please use caution with links and attachments <u></u><u></u></span></b></p>
</td>
</tr>
</tbody>
</table>
</div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;font-family:Helvetica,sans-serif"><u></u> <u></u></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:12pt;font-family:Helvetica,sans-serif">
<hr size="1" width="100%" align="center">
</span></div>
</div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">would it make sense to recompile with other flags ? And how do I set them (I don't find these of menuconfig's compile options)? <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">Currently it has MAX_RECV_BUFFER_SIZE 262144 and BUF_SIZE 65535. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">Can somebody explain also what both flags mean. <u></u><u></u></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"><u></u> <u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">Op do 18 apr 2024 om 11:07 schreef Johan De Clercq <<a href="mailto:Johan@democon.be" target="_blank">Johan@democon.be</a>>:<u></u><u></u></span></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt">
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">would it make sense to recompile with other flags ? <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">Currently it has MAX_RECV_BUFFER_SIZE 262144 and BUF_SIZE 65535. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">Can somebody explain also what both flags mean. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"><u></u> <u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">poll method support: poll, epoll, sigio_rt, select.<u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"><u></u> <u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">Op do 18 apr 2024 om 10:32 schreef Johan De Clercq <<a href="mailto:Johan@democon.be" target="_blank">Johan@democon.be</a>>:<u></u><u></u></span></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt">
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">Guys, <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">I have an opensips instance running with 24 worker children. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">The worker load is very low. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">UDP queues are on 50 megs. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">when i query via the OS <u></u><u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">cat /proc/net/udp<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"> sl local_address rem_address st tx_queue rx_queue tr tm->when retrnsmt uid timeout inode ref pointer drops <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"> 590: 03231D0A:13C4 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 413684019 2 ffff880074820bc0 0 <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"> 591: 03231D0A:13C5 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 413766438 2 ffff880465e4a440 0 <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"> 592: 03231D0A:13C6 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 412035865 2 ffff8803e5a56b80 0 <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"> 934: 01231D0A:151C 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 26790 2 ffff88046c054840 0 <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"> 935: 0201FFEF:151D 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 26787 2 ffff88046c054bc0 0 <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"> 935: 01231D0A:151D 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 26791 2 ffff88046c0544c0 0 <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"> 1972: 00000000:D92A 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 15506 2 ffff88046dce5040 0 <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"> 5479: 00000000:E6DD 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 22811 2 ffff880465e4ab40 0 <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">12075: AA0914AC:00A1 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 20572 2 ffff88086d020800 0 <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">12075: 0100007F:00A1 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 20571 2 ffff88086d020b80 0 <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">13320: 00000000:857E 00000000:0000 07 00000000:00000000 00:00000000 00000000 100 0 17515 2 ffff8800368ac780 0 <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">15661: 00000000:CEA3 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 15505 2 ffff8800368acb00 0 <u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">=> no drops<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">what worries me is that there are drop requests and they go up when I query via the mi interface <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">opensipsctl fifo get_statistics drop_requests<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">core:drop_requests:: 198107<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">opensipsctl fifo get_statistics drop_requests<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">core:drop_requests:: 199157<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">opensipsctl_reg fifo get_statistics drop_requests<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">core:drop_requests:: 204116<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">I don't see any memory issue, also the processload is low. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">so 3 questions:<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">- what exactly is drop_request. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">- do I need to worry about this <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt">- how can I make them go lower. <u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></blockquote></div>