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? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190916/9850eb5d/attachment.html>
> > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190916/8a986ab3/attachment.html>
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<mailto: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://digium.com/> · https://sangoma.com<https://sangoma.com/> [https://www.digium.com/sites/all/themes/poundkey/shared/images/digium/logo.png] -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190916/63a8fec4/attachment.html>
Maybe Matching Threads
- CyberMegaPhone WebRTC Video Conference demo
- [asterisk-app-dev] ARI application execution feature survey
- Can an ARI Bridge support more than 2 channels the way a ConfBridge can?
- Does anyone know if there is a problem with the Chrome browser and asterisk cmp2k video
- [asterisk-app-dev] ARI application execution feature survey