<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><tt>Hi Rajesh,</tt></p>
<p><tt>The only overhead added by "log_level = 4" are the extra logs
themselves. And, yes, DEBUG mode is quite verbose and could lead
to a lot of output, easily filling up entire GB within just a
few hours.</tt></p>
<p><tt>As with all such questions, the only correct answer is: "it
depends". For example:</tt></p>
<p><tt>* are you logging to an SSD?<br>
* how many CPS do you throw at OpenSIPS?<br>
* how much scripting logic do you have?<br>
* have you enabled async logging in your syslog OpenSIPS log?<br>
* are there any other applications which are heavily logging to
the same device?<br>
...<br>
<br>
You should perform some tests before enabling "log_level = 4" on
a CPS-heavy OpenSIPS deployment. The best advice is to monitor
the "Recv-Q" field of "netstat -tlnp" for your OpenSIPS TCP
listeners, and check if SIP messages are either piling up or
getting processed immediately as they arrive.<br>
</tt></p>
<p><tt>Best regards,<br>
</tt></p>
<pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 08.05.2018 21:54, Govindaraj, Rajesh
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:DM6PR15MB228302D28C6E5853F277D45FE39A0@DM6PR15MB2283.namprd15.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<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 Light";
panose-1:2 15 3 2 2 2 4 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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]-->
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">To debug an issue related to udp send
failed, opensips was run in debug level 5 in version 1.11.5.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We found that opensips performance went
down. At a particular time, the thread were blocked for 3-4
seconds while trying to send tcp messages. On code browsing
doesn’t look like opensips is waiting for something and delay
is purely happening because opensips thread was not scheduled.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We analysed for any increase in load for
opensips around this time but could not find any significant
increase in input load.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Just wanted co-members advise, does debug
logging slow down opensips to such an extend where message
processing delays are so much that keep alives fail and
noticeable impact happens?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Please advise.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"
style="margin-bottom:3.0pt;page-break-after:avoid"><b><span
style="font-size:12.0pt;font-family:"Calibri
Light",sans-serif;color:black" lang="EN-GB">Rajeshkumar
Govindaraj<o:p></o:p></span></b></p>
<p class="MsoNormal"
style="margin-bottom:6.0pt;page-break-after:avoid"><span
style="font-size:12.0pt;color:black" lang="EN-GB">Software
Engineer<br>
</span><span style="font-size:10.0pt;color:black">777 Commerce
Drive,<br>
Fairfield, CT-06825<br>
</span><b><span style="font-size:10.0pt;color:black" lang="FR">T</span></b><span
style="font-size:10.0pt;color:black" lang="FR"> +1 201 253
7803
</span><span
style="font-size:10.0pt;font-family:Symbol;color:#5B9BD5">|</span><span
style="font-size:10.0pt;color:black" lang="FR">
<b>M</b> +1 475 439 9918 </span><span
style="font-size:10.0pt;font-family:Symbol;color:#5B9BD5">|</span><span
style="font-size:10.0pt;color:black" lang="FR">
<b>E</b> <a href="mailto:Rajesh.Govindaraj@ipc.com"
moz-do-not-send="true"><span style="color:#0563C1">Rajesh.Govindaraj@ipc.com</span></a></span><span
style="font-size:12.0pt;color:black" lang="EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;mso-fareast-language:FR">Follow us
on twitter:
</span><span style="font-size:10.0pt">@<span
style="text-transform:uppercase">ipc</span>_Systems_Inc
</span><a href="http://www.ipc.com/" moz-do-not-send="true"><span
style="font-size:10.0pt;color:#0563C1">www.ipc.com</span></a><span
style="font-size:10.0pt;color:#44546A"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;color:#44546A"><o:p> </o:p></span></p>
<p class="MsoNormal"><img id="Picture_x0020_2"
src="cid:part3.8F9CBF28.1E467BA9@opensips.org"
alt="cid:image006.jpg@01D1940F.3E021840" class=""
width="191" height="79" border="0"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<br>
<br>
DISCLAIMER:
This e-mail may contain information that is confidential,
privileged or otherwise protected from disclosure. If you are not
an intended recipient of this e-mail, do not duplicate or
redistribute it by any means. Please delete it and any attachments
and notify the sender that you have received it in error.
Unintended recipients are prohibited from taking action on the
basis of information in this e-mail. E-mail messages may contain
computer viruses or other defects, may not be accurately
replicated on other systems, or may be intercepted, deleted or
interfered with without the knowledge of the sender or the
intended recipient. If you are not comfortable with the risks
associated with e-mail messages, you may decide not to use e-mail
to communicate with IPC. IPC reserves the right, to the extent and
under circumstances permitted by applicable law, to retain,
monitor and intercept e-mail messages to and from its systems.
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>