On Wednesday 25 August 2010 11:38:27 Steve Davies wrote: > On 25 August 2010 08:22, Matt Riddell <[email protected]> wrote: > > On 25/08/10 7:20 PM, Tilghman Lesher wrote: > >>> 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. > > > > Aha, explains why I've never seen the canary die :D > > ...and yes, I was running in high priority mode - I thought I was > turning it off for testing, but looks like I left the setting in > asterisk.conf so leaving '-p' off the command line was making no > difference *sigh*
So in this case, the canary actually saved you from needing to reboot the machine in order to recover from the lockup. The thread monitoring the canary noticed within 60 seconds that the canary stopped updating the file and deprioritized Asterisk, allowing the other processes to proceed. -- Tilghman Lesher Digium, Inc. | Senior Software Developer twitter: Corydon76 | IRC: Corydon76-dig (Freenode) Check us out at: www.digium.com & www.asterisk.org -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
