Недавно начал падать asterisk
В консоле появляется
/usr/sbin/safe_asterisk: line 164: 24850 Segmentation fault (core dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} > /dev/${TTY} 2>&1 < /dev/${TTY}
В логах астры при этом
Asterisk Dynamic Loader Starting
В ОС никаких изменений не вносил, пакеты новые не ставил
Запустил астр без asterisk_safe asterisk -cvvvdddg
Поработал мин 5 и
| Код: |
| Executing [s@macro-set-monitor:15] Set("Local/4207@new_bd_context-00000023;2", "CDR(record_file)=20180212110030-79061715546-4207") in new stack -- Executing [s@macro-set-monitor:16] NoOp("Local/4207@new_bd_context-00000023;2", "") in new stack -- Executing [4207@new_bd_context:2] Macro("Local/4207@new_bd_context-00000023;2", "markov,4207") in new stack -- Executing [s@macro-markov:1] GotoIf("Local/4207@new_bd_context-00000023;2", "1?1000") in new stack -- Goto (macro-markov,s,1000) -- Executing [s@macro-markov:1000] NoOp("Local/4207@new_bd_context-00000023;2", "") in new stack -- Executing [4207@new_bd_context:3] Dial("Local/4207@new_bd_context-00000023;2", "SIP/4207,60,tT") in new stack [2018-02-12 11:00:30] WARNING[20386]: app_dial.c:2312 dial_exec_full: Skipping dialing interface 'SIP/4207' again since it has already been dialed == Spawn extension (new_bd_context, 4207, 3) exited non-zero on 'Local/4207@new_bd_context-00000023;2' -- Nobody picked up in 0 ms == Begin MixMonitor Recording Local/4207@new_bd_context-00000023;2 == Executing [/database/asterisk/bin/wavtomp3.sh 20180212110030-79061715546-4207] /database/asterisk/rec/2018/02/12/20180212110030-79061715546-4207 == End MixMonitor Recording Local/4207@new_bd_context-00000023;2 -- Remote UNIX connection -- Remote UNIX connection disconnected -- Remote UNIX connection -- Remote UNIX connection disconnected == Using SIP RTP CoS mark 5 == Extension Changed 4158[BLF] new state InUse for Notify User 4130 == Extension Changed 4158[BLF] new state InUse for Notify User 4100 == Extension Changed 4158[BLF] new state InUse for Notify User 4241 -- Executing [4137@new_bd_context:1] Macro("SIP/4158-00000114", "set-monitor,4137") in new stack -- Executing [s@macro-set-monitor:1] Set("SIP/4158-00000114", "monitor=1") in new stack -- Executing [s@macro-set-monitor:2] GotoIf("SIP/4158-00000114", "0?next:") in new stack -- Executing [s@macro-set-monitor:3] GotoIf("SIP/4158-00000114", "0?next:") in new stack -- Executing [s@macro-set-monitor:4] Set("SIP/4158-00000114", "fname=20180212110030-4158-4137") in new stack -- Executing [s@macro-set-monitor:5] Set("SIP/4158-00000114", "CMDAS=/database/asterisk/bin/wavtomp3.sh 20180212110030-4158-4137") in new stack -- Executing [s@macro-set-monitor:6] MixMonitor("SIP/4158-00000114", "/database/asterisk/rec/20180212110030-4158-4137.wav,,/database/asterisk/bin/wavtomp3.sh 20180212110030-4158-4137") in new stack -- Executing [s@macro-set-monitor:7] Set("SIP/4158-00000114", "CDR(record_file)=20180212110030-4158-4137") in new stack -- Executing [s@macro-set-monitor:8] Goto("SIP/4158-00000114", "end") in new stack -- Goto (macro-set-monitor,s,16) -- Executing [s@macro-set-monitor:16] NoOp("SIP/4158-00000114", "") in new stack -- Executing [4137@new_bd_context:2] Macro("SIP/4158-00000114", "markov,4137") in new stack -- Executing [s@macro-markov:1] GotoIf("SIP/4158-00000114", "1?1000") in new stack -- Goto (macro-markov,s,1000) -- Executing [s@macro-markov:1000] NoOp("SIP/4158-00000114", "") in new stack -- Executing [4137@new_bd_context:3] Dial("SIP/4158-00000114", "SIP/4137,60,tT") in new stack == Using SIP RTP CoS mark 5 -- Called SIP/4137 == Begin MixMonitor Recording SIP/4158-00000114 -- SIP/4137-00000115 is ringing -- Remote UNIX connection -- Remote UNIX connection disconnected Segmentation fault (core dumped) |
Куда смотреть и что делать ? Есть файл core dump
- обновиться
- смотреть корку
gdb path/to/the/binary path/to/the/core
where
_________________
платный суппорт по мере возможностей
| Цитата: |
| Remote UNIX connection |
А кто это коннектиться ?
Вываливается каждый раз на этом ? Смотрите в эту сторону.
И да, посмотреть файл корки было бы не лишним.
_________________
mega-net.ru - IT аутсорсинг