<html><head></head><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:13px"><div><span></span></div><div class="qtdSeparateBR" id="yui_3_16_0_1_1476188292962_15476">Hi </div><div class="qtdSeparateBR" id="yui_3_16_0_1_1476188292962_15476"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_1_1476188292962_15476">This happens to me when one peer (provider) is bad !</div><div class="qtdSeparateBR" id="yui_3_16_0_1_1476188292962_15476">Try to remove all peers from your sip.conf and gradually add them back!</div><div class="qtdSeparateBR" id="yui_3_16_0_1_1476188292962_15476"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_1_1476188292962_15476"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_1_1476188292962_15476"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_1_1476188292962_15476"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_1_1476188292962_15476"><br><br></div><div class="yahoo_quoted" id="yui_3_16_0_1_1476188292962_15406" style="display: block;"> <div style="font-family: verdana, helvetica, sans-serif; font-size: 13px;" id="yui_3_16_0_1_1476188292962_15405"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_1_1476188292962_15404"> <div dir="ltr" id="yui_3_16_0_1_1476188292962_15439"> <font size="2" face="Arial" id="yui_3_16_0_1_1476188292962_15438"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Jonas Kellens <jonas.kellens@telenet.be><br> <b><span style="font-weight: bold;">To:</span></b> Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, October 11, 2016 8:41 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> [asterisk-users] Asterisk 13.11.2, 13.11.1, 13.10.0 and certified-13.8-cert3 : freeze on 'sip reload'<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_1_1476188292962_15403"><br><div id="yiv8960794813">
<div id="yui_3_16_0_1_1476188292962_15450">
<font face="Helvetica, Arial, sans-serif" id="yui_3_16_0_1_1476188292962_15451">Hello<br>
<br>
I am experiencing a freeze of the Asterisk proces when issuing a
'sip reload'.<br>
<br>
I have this issue every time on asterisk versions : 13.11.2,
13.11.1, 13.10.0 and certified-13.8-cert3.<br>
<br>
I do not have this on versions </font><font face="Helvetica, Arial, sans-serif" id="yui_3_16_0_1_1476188292962_15467"><font face="Helvetica, Arial, sans-serif" id="yui_3_16_0_1_1476188292962_15466">certified-13.8-cert2,
certified-13.8-cert1 and asterisk 1.8.32.3.<br>
<br>
</font>The only solution is a cold restart of Asterisk.<br>
<br>
I can execute any command on CLI except 'sip reload'.<br>
<br>
This is what I have on CLI :<br>
<br>
sip5*CLI> sip reload <br>
[Oct 7 23:58:40] Reloading SIP<br>
[Oct 7 23:58:40] == Parsing '/etc/asterisk/sip.conf': Found<br>
[Oct 7 23:58:40] == Parsing '/etc/asterisk/sipTemplates.conf':
Found<br>
[Oct 7 23:58:40] == Parsing '/etc/asterisk/users.conf': Found<br>
[Oct 7 23:58:40] == Using SIP TOS bits 96<br>
[Oct 7 23:58:40] == Using SIP CoS mark 3<br>
[Oct 7 23:58:40] == TLS/SSL ECDH initialized (secp256r1),
faster PFS cipher-suites enabled<br>
[Oct 7 23:58:40] == TLS/SSL certificate ok<br>
<br>
--> no more output on CLI. Asterisk has gone completely !<br>
<br>
Another 'sip reload' gives :<br>
<br>
sip5*CLI> sip reload <br>
[Oct 8 00:01:10] Previous SIP reload not yet done<br>
<br>
sip5*CLI> sip reload <br>
sip5*CLI> <br>
<br>
<br>
Other commands are no problem on the CLI (while the freeze occurs
! ) :<br>
<br>
sip5*CLI> core show version<br>
Asterisk certified/13.8-cert3 built by root @ sip5.mydomain.tld on
a x86_64 running Linux on 2016-10-07 21:27:15 UTC<br>
<br>
<br>
sip5*CLI> sip show channelstats <br>
Peer Call ID Duration Recv: Pack Lost
( %) Jitter Send: Pack Lost ( %) Jitter<br>
0 active SIP channels<br>
<br>
<br>
sip5*CLI> core show threads <br>
0x7f97ff0fb700 2849 netconsole started at [ 1639]
asterisk.c listener()<br>
0x7f97fe843700 2760 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ff367700 2759 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97fe8bf700 2758 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97fe93b700 2173 monitor_sig_flags started at [ 4768]
asterisk.c asterisk_daemon()<br>
0x7f97fe9b7700 2172 default_tps_processing_function started at [
200] taskprocessor.c default_listener_start()<br>
0x7f97fea33700 2171 default_tps_processing_function started at [
200] taskprocessor.c default_listener_start()<br>
0x7f97feaaf700 2170 default_tps_processing_function started at [
200] taskprocessor.c default_listener_start()<br>
0x7f97feb2b700 2169 scan_thread started at [ 920]
pbx_spool.c load_module()<br>
0x7f97feba7700 2167 cleanup started at [ 400]
pbx_realtime.c load_module()<br>
0x7f97fec23700 2165 lock_broker started at [ 524]
func_lock.c load_module()<br>
0x7f97fee13700 2161 cal->tech->load_calendar started at [
489] res_calendar.c build_calendar()<br>
0x7f97fec9f700 2164 default_tps_processing_function started at [
200] taskprocessor.c default_listener_start()<br>
0x7f97fed1b700 2163 cal->tech->load_calendar started at [
489] res_calendar.c build_calendar()<br>
0x7f97fed97700 2162 cal->tech->load_calendar started at [
489] res_calendar.c build_calendar()<br>
0x7f97fee8f700 2160 default_tps_processing_function started at [
200] taskprocessor.c default_listener_start()<br>
0x7f97fef0b700 2159 default_tps_processing_function started at [
200] taskprocessor.c default_listener_start()<br>
0x7f97fef87700 2158 default_tps_processing_function started at [
200] taskprocessor.c default_listener_start()<br>
0x7f97ff003700 2157 do_monitor started at [11645]
chan_dahdi.c restart_monitor()<br>
0x7f97ff07f700 2156 do_monitor started at [29518]
chan_sip.c restart_monitor()<br>
0x7f97ff1f3700 2153 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ff2eb700 2151 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ff26f700 2152 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ff3e3700 2149 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ff45f700 2148 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ff4db700 2147 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ff5d3700 2145 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ff557700 2146 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ff64f700 2144 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ff6cb700 2143 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ff747700 2142 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ff7c3700 2141 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ff83f700 2140 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ff8bb700 2139 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ff937700 2138 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ff9b3700 2137 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ffa2f700 2136 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ffaab700 2135 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ffb27700 2134 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ffba3700 2133 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ffc1f700 2132 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ffc9b700 2131 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ffd17700 2130 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ffd93700 2129 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ffe0f700 2128 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97ffe8b700 2127 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97fff07700 2126 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97fff83700 2125 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f97fffff700 2124 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f980c0f0700 2123 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f980c16c700 2122 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f980c1e8700 2121 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f980c454700 2116 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f980c264700 2120 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f980c2e0700 2119 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f980c35c700 2118 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f980c3d8700 2117 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f980c4d0700 2115 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f980c54c700 2114 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f982808a700 2113 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f9828106700 2112 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f9834081700 2111 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f98340fd700 2109 desc->accept_fn started at [ 1088]
tcptls.c ast_tcptls_server_start()<br>
0x7f9834179700 2108 default_tps_processing_function started at [
200] taskprocessor.c default_listener_start()<br>
0x7f989c0ce700 2107 sched_run started at [ 217]
sched.c ast_sched_start_thread()<br>
0x7f989c14a700 2105 default_tps_processing_function started at [
200] taskprocessor.c default_listener_start()<br>
0x7f989c1c6700 2104 do_refresh started at [ 1902]
res_calendar.c load_module()<br>
0x7f989d50b700 2103 sched_run started at [ 217]
sched.c ast_sched_start_thread()<br>
0x7f989dd97700 2079 default_tps_processing_function started at [
200] taskprocessor.c default_listener_start()<br>
0x7f989de13700 2069 sched_run started at [ 217]
sched.c ast_sched_start_thread()<br>
0x7f989de8f700 2068 default_tps_processing_function started at [
200] taskprocessor.c default_listener_start()<br>
0x7f989df0b700 2067 desc->accept_fn started at [ 1088]
tcptls.c ast_tcptls_server_start()<br>
0x7f989df87700 2066 desc->accept_fn started at [ 1088]
tcptls.c ast_tcptls_server_start()<br>
0x7f989e003700 2065 default_tps_processing_function started at [
200] taskprocessor.c default_listener_start()<br>
0x7f989e07f700 2064 default_tps_processing_function started at [
200] taskprocessor.c default_listener_start()<br>
0x7f989e0fb700 2063 default_tps_processing_function started at [
200] taskprocessor.c default_listener_start()<br>
0x7f989e177700 2062 default_tps_processing_function started at [
200] taskprocessor.c default_listener_start()<br>
0x7f989e1f3700 2061 default_tps_processing_function started at [
200] taskprocessor.c default_listener_start()<br>
0x7f989e26f700 2059 desc->accept_fn started at [ 1088]
tcptls.c ast_tcptls_server_start()<br>
0x7f989e2eb700 2058 desc->accept_fn started at [ 1088]
tcptls.c ast_tcptls_server_start()<br>
0x7f989eb14700 2057 do_devstate_changes started at [ 646]
devicestate.c ast_device_state_engine_init()<br>
0x7f989eb90700 2056 bridge_manager_thread started at [ 4869]
bridge.c bridge_manager_create()<br>
0x7f989ec0c700 2055 default_tps_processing_function started at [
200] taskprocessor.c default_listener_start()<br>
0x7f989ec88700 2054 db_sync_thread started at [ 1022] db.c
astdb_init()<br>
0x7f989ed04700 2053 default_tps_processing_function started at [
200] taskprocessor.c default_listener_start()<br>
0x7f989ed80700 2052 logger_thread started at [ 1595]
logger.c init_logger()<br>
0x7f989edfc700 2051 listener started at [ 1699]
asterisk.c ast_makesocket()<br>
0x7f989eef4700 2049 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f989ef70700 2048 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f989efec700 2047 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f98a30f8700 2046 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f989ee78700 2050 worker_start started at [ 1077]
threadpool.c worker_thread_start()<br>
0x7f98a3174700 2045 default_tps_processing_function started at [
200] taskprocessor.c default_listener_start()<br>
0x7f98a31f0700 2044 default_tps_processing_function started at [
200] taskprocessor.c default_listener_start()<br>
94 threads listed.<br>
<br>
<br>
sip5*CLI> core show sysinfo <br>
<br>
System Statistics<br>
-----------------<br>
System Uptime: 0 hours<br>
Total RAM: 8009136 KiB<br>
Free RAM: 6969004 KiB<br>
Buffer RAM: 162556 KiB<br>
Total Swap Space: 8388604 KiB<br>
Free Swap Space: 8388604 KiB<br>
<br>
Number of Processes: 266 <br>
<br>
<br>
After some time nothing is possible any more and I need to restart
Asterisk.<br>
<br>
<br>
Is this an known issue ? I don't understand how the latest
versions of Asterisk are workable for anyone ?!<br>
<br>
<br>
<br>
<br>
Kind regards.<br>
<br>
</font>
</div>
</div><br>-- <br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com </a>--<br><br>Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016<br> <a href="http://www.asterisk.org/community/astricon-user-conference" target="_blank">http://www.asterisk.org/community/astricon-user-conference</a><br><br>New to Asterisk? Start here:<br> <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br></div> </div> </div> </div></div></body></html>