<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Is there a good way to diagnose what asterisk is doing for each thread id?</blockquote><div> </div><div>If you are able to get a backtrace during the time the issue is occurring, that could provide some insight. You can get a backtrace while Asterisk is running by following the steps on [1].</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Is there a verbose level that would be recommended to track the threading?<br>Also, does the verbose help if it may be confbridge related?</blockquote><div> </div><div>Verbose is a very chatty debug that spits out information about what's going on. You could try with verbose 3, and if that doesn't provide the information you're looking for, you can dynamically bump it up at runtime. If you are looking for something specific, you can always do a search in the confbridge files for the verbose message and set the verbose level to whatever number that message specifies.</div><p class="MsoNormal"><u></u></p></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 16, 2019 at 9:44 AM Dan Cropp <<a href="mailto:dan@amtelco.com">dan@amtelco.com</a>> wrote:<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 lang="EN-US">
<div class="gmail-m_-5193304380480853028WordSection1">
<p class="MsoNormal">I’m trying to track down a CPU spike we are seeing in a system.
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">We have tracked down the spike to a single CPU and TID using that CPU. Indications are that it’s asterisk running this TID.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’m trying to figure out what asterisk is doing on this thread around that time, but haven’t been able to match the tid to anything I’m seeing in asterisk debugging.<u></u><u></u></p>
<p class="MsoNormal">Is there a good way to diagnose what asterisk is doing for each thread id?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">We enabled the debugging in the logger.conf. Is there a verbose level that would be recommended to track the threading?<u></u><u></u></p>
<p class="MsoNormal">Also, does the verbose help if it may be confbridge related?<u></u><u></u></p>
</div>
</div>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr" style="font-size:12.8px"><span style="font-family:arial,helvetica,sans-serif"><b>Benjamin Ford</b></span><br></div><div dir="ltr" style="font-size:12.8px"><div style="font-size:12.8px"><font face="arial, helvetica, sans-serif" size="1">Digium - A Sangoma Company | Software Engineer</font></div><div style="font-size:12.8px"><font face="arial, helvetica, sans-serif" size="1"><a href="https://maps.google.com/?q=445+Jan+Davis+Drive+NW+-+Huntsville,+AL+35806+-+US&entry=gmail&source=g" style="color:rgb(17,85,204)" target="_blank">445 Jan Davis Drive NW - Huntsville, AL 35806 - US</a></font></div><div style="font-size:12.8px"><font face="arial, helvetica, sans-serif" size="1">Check us out at: <a href="https://digium.com/" style="color:rgb(17,85,204)" target="_blank">https://digium.com</a> · <a href="https://sangoma.com/" style="color:rgb(17,85,204)" target="_blank">https://sangoma.com</a></font></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><img src="https://www.digium.com/sites/all/themes/poundkey/shared/images/digium/logo.png" width="96" height="53"><br></div></div></div></div>