James Lamanna
2009-Mar-15 16:38 UTC
[asterisk-users] Too many notify events causing Asterisk crash?
Hi, We've implemented a 'page-all' function for some of our customers, and we've noticed that on occasion the page-all will cause asterisk to crash (safe_asterisk then restarts it again). The particular customer has about 20 phones, and also has 5 Linksys 932 to monitor the state of these extensions. I'm not sure whether it is the page-all that causes the crash, or the subsequent NOTIFY storm to all of the 932s that are monitoring those extensions (since the page-all causes them all to go to In-Use and then Idle). Here's a log snippet of right before the crash (previous crashes look very similar). Also, this is a production box, so there's no way at this time I can recompile with debugging symbols. The Asterisk version is 1.4.18.1. Thanks. [Mar 14 12:56:06] VERBOSE[30141] logger.c: == Spawn extension (ext-paging, PAGExxxxxx6295, 8) exited non-zero on 'Local/PAGExxxxxx6295 at ext-paging-ef0f,2' [Mar 14 12:56:08] VERBOSE[30193] logger.c: == Connect attempt from '127.0.0.1' unable to authenticate [Mar 14 12:56:13] NOTICE[8327] chan_sip.c: Registration from '<sip:1821 at warp2biz.com>' failed for '71.119.123.229' - Wrong password [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6297[ext-local] new state Idle for Notify User xxxxxx6324 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6297[ext-local] new state Idle for Notify User xxxxxx6293 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6297[ext-local] new state Idle for Notify User xxxxxx6311 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6297[ext-local] new state Idle for Notify User xxxxxx6315 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6297[ext-local] new state Idle for Notify User xxxxxx6297 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6329[ext-local] new state Idle for Notify User xxxxxx6324 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6329[ext-local] new state Idle for Notify User xxxxxx6293 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6329[ext-local] new state Idle for Notify User xxxxxx6311 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6329[ext-local] new state Idle for Notify User xxxxxx6315 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6329[ext-local] new state Idle for Notify User xxxxxx6297 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6295[ext-local] new state Idle for Notify User xxxxxx6324 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6295[ext-local] new state Idle for Notify User xxxxxx6293 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6295[ext-local] new state Idle for Notify User xxxxxx6311 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6295[ext-local] new state Idle for Notify User xxxxxx6315 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6295[ext-local] new state Idle for Notify User xxxxxx6297 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6317[ext-local] new state Idle for Notify User xxxxxx6324 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6317[ext-local] new state Idle for Notify User xxxxxx6293 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6317[ext-local] new state Idle for Notify User xxxxxx6311 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6317[ext-local] new state Idle for Notify User xxxxxx6315 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6317[ext-local] new state Idle for Notify User xxxxxx6297 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6328[ext-local] new state Idle for Notify User xxxxxx6324 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6328[ext-local] new state Idle for Notify User xxxxxx6293 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6328[ext-local] new state Idle for Notify User xxxxxx6315 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6328[ext-local] new state Idle for Notify User xxxxxx6311 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6328[ext-local] new state Idle for Notify User xxxxxx6297 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6314[ext-local] new state Idle for Notify User xxxxxx6324 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6314[ext-local] new state Idle for Notify User xxxxxx6293 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6314[ext-local] new state Idle for Notify User xxxxxx6311 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6314[ext-local] new state Idle for Notify User xxxxxx6315 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6314[ext-local] new state Idle for Notify User xxxxxx6297 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6312[ext-local] new state Idle for Notify User xxxxxx6324 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6312[ext-local] new state Idle for Notify User xxxxxx6293 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6312[ext-local] new state Idle for Notify User xxxxxx6311 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6312[ext-local] new state Idle for Notify User xxxxxx6315 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6312[ext-local] new state Idle for Notify User xxxxxx6297 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6311[ext-local] new state Idle for Notify User xxxxxx6324 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6311[ext-local] new state Idle for Notify User xxxxxx6293 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6311[ext-local] new state Idle for Notify User xxxxxx6311 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6311[ext-local] new state Idle for Notify User xxxxxx6315 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6311[ext-local] new state Idle for Notify User xxxxxx6297 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6318[ext-local] new state Idle for Notify User xxxxxx6324 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6318[ext-local] new state Idle for Notify User xxxxxx6293 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6318[ext-local] new state Idle for Notify User xxxxxx6315 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6318[ext-local] new state Idle for Notify User xxxxxx6311 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6318[ext-local] new state Idle for Notify User xxxxxx6297 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6294[ext-local] new state Idle for Notify User xxxxxx6324 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6294[ext-local] new state Idle for Notify User xxxxxx6293 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6294[ext-local] new state Idle for Notify User xxxxxx6311 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6294[ext-local] new state Idle for Notify User xxxxxx6315 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6294[ext-local] new state Idle for Notify User xxxxxx6297 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6326[ext-local] new state Idle for Notify User xxxxxx6324 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6326[ext-local] new state Idle for Notify User xxxxxx6293 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6326[ext-local] new state Idle for Notify User xxxxxx6311 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6326[ext-local] new state Idle for Notify User xxxxxx6315 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6326[ext-local] new state Idle for Notify User xxxxxx6297 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6296[ext-local] new state Idle for Notify User xxxxxx6324 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6296[ext-local] new state Idle for Notify User xxxxxx6293 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6296[ext-local] new state Idle for Notify User xxxxxx6311 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6296[ext-local] new state Idle for Notify User xxxxxx6315 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6296[ext-local] new state Idle for Notify User xxxxxx6297 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6315[ext-local] new state Idle for Notify User xxxxxx6324 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6315[ext-local] new state Idle for Notify User xxxxxx6293 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6315[ext-local] new state Idle for Notify User xxxxxx6311 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6315[ext-local] new state Idle for Notify User xxxxxx6315 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6315[ext-local] new state Idle for Notify User xxxxxx6297 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6291[ext-local] new state Idle for Notify User xxxxxx6324 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6291[ext-local] new state Idle for Notify User xxxxxx6293 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6291[ext-local] new state Idle for Notify User xxxxxx6311 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6291[ext-local] new state Idle for Notify User xxxxxx6315 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6291[ext-local] new state Idle for Notify User xxxxxx6297 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6316[ext-local] new state Idle for Notify User xxxxxx6324 [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6316[ext-local] new state Idle for Notify User xxxxxx6293 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6316[ext-local] new state Idle for Notify User xxxxxx6311 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6316[ext-local] new state Idle for Notify User xxxxxx6315 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6316[ext-local] new state Idle for Notify User xxxxxx6297 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6322[ext-local] new state Idle for Notify User xxxxxx6324 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6322[ext-local] new state Idle for Notify User xxxxxx6293 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6322[ext-local] new state Idle for Notify User xxxxxx6315 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6322[ext-local] new state Idle for Notify User xxxxxx6311 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6322[ext-local] new state Idle for Notify User xxxxxx6297 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6320[ext-local] new state Idle for Notify User xxxxxx6324 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6320[ext-local] new state Idle for Notify User xxxxxx6293 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6320[ext-local] new state Idle for Notify User xxxxxx6311 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6320[ext-local] new state Idle for Notify User xxxxxx6315 (queued) [Mar 14 12:56:18] VERBOSE[8301] logger.c: Extension Changed xxxxxx6320[ext-local] new state Idle for Notify User xxxxxx6297 [Mar 14 12:56:22] VERBOSE[30210] logger.c: Asterisk Event Logger Started /var/log/asterisk/event_log [Mar 14 12:56:22] VERBOSE[30210] logger.c: Asterisk Dynamic Loader Starting: [Mar 14 12:56:22] VERBOSE[30210] logger.c: == Parsing '/etc/asterisk/modules.conf': [Mar 14 12:56:22] VERBOSE[30210] logger.c: Found [Mar 14 12:56:22] VERBOSE[30210] logger.c: == Parsing '/etc/asterisk/dnsmgr.conf': [Mar 14 12:56:22] VERBOSE[30210] logger.c: Found [Mar 14 12:56:22] VERBOSE[30210] logger.c: == Manager registered action Ping