[asterisk-users] Asterisk 13.11.2, 13.11.1, 13.10.0 and certified-13.8-cert3 : freeze on 'sip reload'

Jonas Kellens jonas.kellens at telenet.be
Tue Oct 11 07:41:48 CDT 2016


Hello

I am experiencing a freeze of the Asterisk proces when issuing a 'sip 
reload'.

I have this issue every time on asterisk versions : 13.11.2, 13.11.1, 
13.10.0 and certified-13.8-cert3.

I do not have this on versions certified-13.8-cert2, 
certified-13.8-cert1 and asterisk 1.8.32.3.

The only solution is a cold restart of Asterisk.

I can execute any command on CLI except 'sip reload'.

This is what I have on CLI :

sip5*CLI> sip reload
[Oct  7 23:58:40]  Reloading SIP
[Oct  7 23:58:40]   == Parsing '/etc/asterisk/sip.conf': Found
[Oct  7 23:58:40]   == Parsing '/etc/asterisk/sipTemplates.conf': Found
[Oct  7 23:58:40]   == Parsing '/etc/asterisk/users.conf': Found
[Oct  7 23:58:40]   == Using SIP TOS bits 96
[Oct  7 23:58:40]   == Using SIP CoS mark 3
[Oct  7 23:58:40]   == TLS/SSL ECDH initialized (secp256r1), faster PFS 
cipher-suites enabled
[Oct  7 23:58:40]   == TLS/SSL certificate ok

--> no more output on CLI. Asterisk has gone completely !

Another 'sip reload' gives :

sip5*CLI> sip reload
[Oct  8 00:01:10] Previous SIP reload not yet done

sip5*CLI> sip reload
sip5*CLI>


Other commands are no problem on the CLI (while the freeze occurs ! ) :

sip5*CLI> core show  version
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


sip5*CLI> sip show channelstats
Peer             Call ID      Duration Recv: Pack  Lost (     %) Jitter 
Send: Pack  Lost       (     %) Jitter
0 active SIP channels


sip5*CLI> core show threads
0x7f97ff0fb700 2849 netconsole           started at [ 1639] asterisk.c 
listener()
0x7f97fe843700 2760 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ff367700 2759 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97fe8bf700 2758 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97fe93b700 2173 monitor_sig_flags    started at [ 4768] asterisk.c 
asterisk_daemon()
0x7f97fe9b7700 2172 default_tps_processing_function started at [ 200] 
taskprocessor.c default_listener_start()
0x7f97fea33700 2171 default_tps_processing_function started at [ 200] 
taskprocessor.c default_listener_start()
0x7f97feaaf700 2170 default_tps_processing_function started at [ 200] 
taskprocessor.c default_listener_start()
0x7f97feb2b700 2169 scan_thread          started at [  920] pbx_spool.c 
load_module()
0x7f97feba7700 2167 cleanup              started at [  400] 
pbx_realtime.c load_module()
0x7f97fec23700 2165 lock_broker          started at [  524] func_lock.c 
load_module()
0x7f97fee13700 2161 cal->tech->load_calendar started at [ 489] 
res_calendar.c build_calendar()
0x7f97fec9f700 2164 default_tps_processing_function started at [ 200] 
taskprocessor.c default_listener_start()
0x7f97fed1b700 2163 cal->tech->load_calendar started at [ 489] 
res_calendar.c build_calendar()
0x7f97fed97700 2162 cal->tech->load_calendar started at [ 489] 
res_calendar.c build_calendar()
0x7f97fee8f700 2160 default_tps_processing_function started at [ 200] 
taskprocessor.c default_listener_start()
0x7f97fef0b700 2159 default_tps_processing_function started at [ 200] 
taskprocessor.c default_listener_start()
0x7f97fef87700 2158 default_tps_processing_function started at [ 200] 
taskprocessor.c default_listener_start()
0x7f97ff003700 2157 do_monitor           started at [11645] chan_dahdi.c 
restart_monitor()
0x7f97ff07f700 2156 do_monitor           started at [29518] chan_sip.c 
restart_monitor()
0x7f97ff1f3700 2153 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ff2eb700 2151 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ff26f700 2152 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ff3e3700 2149 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ff45f700 2148 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ff4db700 2147 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ff5d3700 2145 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ff557700 2146 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ff64f700 2144 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ff6cb700 2143 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ff747700 2142 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ff7c3700 2141 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ff83f700 2140 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ff8bb700 2139 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ff937700 2138 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ff9b3700 2137 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ffa2f700 2136 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ffaab700 2135 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ffb27700 2134 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ffba3700 2133 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ffc1f700 2132 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ffc9b700 2131 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ffd17700 2130 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ffd93700 2129 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ffe0f700 2128 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97ffe8b700 2127 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97fff07700 2126 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97fff83700 2125 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f97fffff700 2124 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f980c0f0700 2123 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f980c16c700 2122 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f980c1e8700 2121 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f980c454700 2116 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f980c264700 2120 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f980c2e0700 2119 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f980c35c700 2118 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f980c3d8700 2117 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f980c4d0700 2115 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f980c54c700 2114 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f982808a700 2113 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f9828106700 2112 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f9834081700 2111 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f98340fd700 2109 desc->accept_fn      started at [ 1088] tcptls.c 
ast_tcptls_server_start()
0x7f9834179700 2108 default_tps_processing_function started at [ 200] 
taskprocessor.c default_listener_start()
0x7f989c0ce700 2107 sched_run            started at [  217] sched.c 
ast_sched_start_thread()
0x7f989c14a700 2105 default_tps_processing_function started at [ 200] 
taskprocessor.c default_listener_start()
0x7f989c1c6700 2104 do_refresh           started at [ 1902] 
res_calendar.c load_module()
0x7f989d50b700 2103 sched_run            started at [  217] sched.c 
ast_sched_start_thread()
0x7f989dd97700 2079 default_tps_processing_function started at [ 200] 
taskprocessor.c default_listener_start()
0x7f989de13700 2069 sched_run            started at [  217] sched.c 
ast_sched_start_thread()
0x7f989de8f700 2068 default_tps_processing_function started at [ 200] 
taskprocessor.c default_listener_start()
0x7f989df0b700 2067 desc->accept_fn      started at [ 1088] tcptls.c 
ast_tcptls_server_start()
0x7f989df87700 2066 desc->accept_fn      started at [ 1088] tcptls.c 
ast_tcptls_server_start()
0x7f989e003700 2065 default_tps_processing_function started at [ 200] 
taskprocessor.c default_listener_start()
0x7f989e07f700 2064 default_tps_processing_function started at [ 200] 
taskprocessor.c default_listener_start()
0x7f989e0fb700 2063 default_tps_processing_function started at [ 200] 
taskprocessor.c default_listener_start()
0x7f989e177700 2062 default_tps_processing_function started at [ 200] 
taskprocessor.c default_listener_start()
0x7f989e1f3700 2061 default_tps_processing_function started at [ 200] 
taskprocessor.c default_listener_start()
0x7f989e26f700 2059 desc->accept_fn      started at [ 1088] tcptls.c 
ast_tcptls_server_start()
0x7f989e2eb700 2058 desc->accept_fn      started at [ 1088] tcptls.c 
ast_tcptls_server_start()
0x7f989eb14700 2057 do_devstate_changes  started at [  646] 
devicestate.c ast_device_state_engine_init()
0x7f989eb90700 2056 bridge_manager_thread started at [ 4869] bridge.c 
bridge_manager_create()
0x7f989ec0c700 2055 default_tps_processing_function started at [ 200] 
taskprocessor.c default_listener_start()
0x7f989ec88700 2054 db_sync_thread       started at [ 1022] db.c 
astdb_init()
0x7f989ed04700 2053 default_tps_processing_function started at [ 200] 
taskprocessor.c default_listener_start()
0x7f989ed80700 2052 logger_thread        started at [ 1595] logger.c 
init_logger()
0x7f989edfc700 2051 listener             started at [ 1699] asterisk.c 
ast_makesocket()
0x7f989eef4700 2049 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f989ef70700 2048 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f989efec700 2047 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f98a30f8700 2046 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f989ee78700 2050 worker_start         started at [ 1077] threadpool.c 
worker_thread_start()
0x7f98a3174700 2045 default_tps_processing_function started at [ 200] 
taskprocessor.c default_listener_start()
0x7f98a31f0700 2044 default_tps_processing_function started at [ 200] 
taskprocessor.c default_listener_start()
94 threads listed.


sip5*CLI> core show sysinfo

System Statistics
-----------------
   System Uptime:             0 hours
   Total RAM:                 8009136 KiB
   Free RAM:                  6969004 KiB
   Buffer RAM:                162556 KiB
   Total Swap Space:          8388604 KiB
   Free Swap Space:           8388604 KiB

   Number of Processes:       266


After some time nothing is possible any more and I need to restart Asterisk.


Is this an known issue ? I don't understand how the latest versions of 
Asterisk are workable for anyone ?!




Kind regards.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20161011/0a501303/attachment.html>


More information about the asterisk-users mailing list