[asterisk-users] How does verbosity work?

Ben Ford bford at digium.com
Mon Sep 16 10:24:31 CDT 2019


I just saw I forgot to link the wiki page:
https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace

Hope this helps.

On Mon, Sep 16, 2019 at 10:13 AM Dan Cropp <dan at amtelco.com> wrote:

> Thank you Ben
>
>
>
> *From:* asterisk-users <asterisk-users-bounces at lists.digium.com> *On
> Behalf Of *Ben Ford
> *Sent:* Monday, September 16, 2019 9:58 AM
> *To:* Asterisk Users Mailing List - Non-Commercial Discussion <
> asterisk-users at lists.digium.com>
> *Subject:* Re: [asterisk-users] How does verbosity work?
>
>
>
> Is there a good way to diagnose what asterisk is doing for each thread id?
>
>
>
> 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].
>
>
>
> Is there a verbose level that would be recommended to track the threading?
> Also, does the verbose help if it may be confbridge related?
>
>
>
> 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.
>
>
>
> On Mon, Sep 16, 2019 at 9:44 AM Dan Cropp <dan at amtelco.com> wrote:
>
> I’m trying to track down a CPU spike we are seeing in a system.
>
>
>
> We have tracked down the spike to a single CPU and TID using that CPU.
> Indications are that it’s asterisk running this TID.
>
>
>
> 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.
>
> Is there a good way to diagnose what asterisk is doing for each thread id?
>
>
>
> We enabled the debugging in the logger.conf.  Is there a verbose level
> that would be recommended to track the threading?
>
> Also, does the verbose help if it may be confbridge related?
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at:
> https://community.asterisk.org/
>
> New to Asterisk? Start here:
>       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
>
> --
>
> *Benjamin Ford*
>
> Digium - A Sangoma Company | Software Engineer
>
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US
> <https://maps.google.com/?q=445+Jan+Davis+Drive+NW+-+Huntsville,+AL+35806+-+US&entry=gmail&source=g>
>
> Check us out at: https://digium.com · https://sangoma.com
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at:
> https://community.asterisk.org/
>
> New to Asterisk? Start here:
>       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



-- 
*Benjamin Ford*
Digium - A Sangoma Company | Software Engineer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
<https://maps.google.com/?q=445+Jan+Davis+Drive+NW+-+Huntsville,+AL+35806+-+US&entry=gmail&source=g>
Check us out at: https://digium.com · https://sangoma.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190916/1d30ff42/attachment.html>


More information about the asterisk-users mailing list