[asterisk-users] How to debug this specific issue?

Tilghman Lesher tlesher at digium.com
Wed Aug 25 02:20:31 CDT 2010


On Wednesday 25 August 2010 01:47:43 Matt Riddell wrote:
> On 24/08/10 4:42 AM, Steve Davies wrote:
> > Hi,
> >
> > I am happy with the usual GDB backtrace methods and so forth, but have
> > an issue that I cannot work out how to trace on 1.6.2.10.
> >
> > If I use either the Bridge() app, or the manager Action: Bridge() in a
> > certain scenario (Basically to bridge 2 SIP channels, like an attended
> > transfer, resulting in 2 other SIP channels being discarded) then the
> > whole server locks solid. The console stops, the network stops,
> > something is hammering the box and nothing (including debug tools)
> > seem to be able to do anything about it.
> >
> > If I 'nice' asterisk to lowest priority, and 'nice' a copy of 'top' to
> > highest priority, everything still locks. After a short period, the
> > box recovers, seemingly due to the 60 second RTP timer. Anything that
> > was being logged is lost.
>
> Do you have high priority enabled in asterisk.conf?
>
> Are you using DAHDI?  (maybe kernel not happy)
>
> I really thought that the canary should have sounded if Asterisk got in
> a loop - or maybe that only happens with high priority?

The canary only runs in high priority mode, and it's only able to do anything
if high priority scheduling is the culprit.  If it's something else, like
memory swapping, there's nothing the canary can do to fix that.

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list