Пожалуйста, войдите здесь. Часто задаваемые вопросы О нас
Задайте Ваш вопрос

История изменений [назад]

нажмите, чтобы скрыть/показать версии 1
изначальная версия
редактировать

ответил 2012-09-25 20:11:34 +0400

SIlverJoe Gravatar SIlverJoe

Интересно чем закончилось дело. У меня похожая ситуация. Повышение disk i/o отмечается munin. Как понять что это именно в нем дело? Как бы не сталкивался с такими вещами.

Интересно чем закончилось дело. У меня похожая ситуация. Повышение disk i/o отмечается munin. Как понять что это именно в нем дело? Как бы не сталкивался с такими вещами.

сегодня опять проявилась проблема. iotop в порядке, сетевой активности нет. куча процессов астериска + astcanary гугл не помог. При этом:

core show channels

Channel              Location             State   Application(Data)             
SIP/mangosip-0000091 (None)               Up      AppDial((Outgoing Line))      
Local/7411122@outgoi s@macro-dialout:25   Up      Dial(SIP/mangosip/74957411122,
Local/7411122@outgoi 7411122@outgoing:1   Up      (None)  

 sip show channels - пусто

taskprocessors

        +----- Processor -----+--- Processed ---+- In Queue -+- Max Depth -+
               app_queue               21877            0            5
   core_event_dispatcher               21885            0            4
           app_voicemail                   0            0            0
                pbx-core               21880            0            4
        +---------------------+-----------------+------------+-------------+
        4 taskprocessors

threads

0x7fc5bebc0700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be09a700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be116700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be192700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be20e700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be28a700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be306700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be382700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be3fe700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be47a700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be4f6700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be7de700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be572700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be85a700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be8d6700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be6e6700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5beb42700 handle_tcptls_connection started at [  280] tcptls.c ast_tcptls_server_root()
0x7fc5be762700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5bea4a700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be952700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be9ce700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5beac6700 mixmonitor_thread    started at [  467] app_mixmonitor.c launch_monitor_thread()
0x7fc5becb8700 pbx_thread           started at [ 4583] pbx.c ast_pbx_start()
0x7fc5be66a700 mixmonitor_thread    started at [  467] app_mixmonitor.c launch_monitor_thread()
0x7fc5be5ee700 pbx_thread           started at [ 4583] pbx.c ast_pbx_start()
0x7fc5bed34700 handle_tcptls_connection started at [  280] tcptls.c ast_tcptls_server_root()
0x7fc5bec3c700 autoservice_run      started at [  209] autoservice.c ast_autoservice_start()
0x7fc5bedb0700 network_thread       started at [11749] chan_iax2.c start_network_thread()
0x7fc5bee2c700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5beea8700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5bef24700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5befa0700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5bf01c700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5bf098700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5bf114700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5bf190700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5bf20c700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5bf288700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5bf304700 sched_run            started at [  179] sched.c ast_sched_thread_create()
0x7fc5bf380700 scan_thread          started at [  524] pbx_spool.c load_module()
0x7fc5bf3fc700 tps_processing_function started at [  451] taskprocessor.c ast_taskprocessor_get()
0x7fc5bf478700 do_monitor           started at [ 3491] chan_mgcp.c restart_monitor()
0x7fc5bf4f4700 do_monitor           started at [ 1144] chan_phone.c restart_monitor()
0x7fc5bf570700 do_monitor           started at [ 9822] chan_dahdi.c restart_monitor()
0x7fc5bf5ec700 lock_broker          started at [  490] func_lock.c load_module()
0x7fc5bf668700 do_monitor           started at [ 4607] chan_unistim.c restart_monitor()
0x7fc5bf6e4700 process_clearcache   started at [ 2268] pbx_dundi.c start_network_thread()
0x7fc5bf760700 process_precache     started at [ 2267] pbx_dundi.c start_network_thread()
0x7fc5bf7dc700 network_thread       started at [ 2266] pbx_dundi.c start_network_thread()
0x7fc5bf858700 tps_processing_function started at [  451] taskprocessor.c ast_taskprocessor_get()
0x7fc5e4089700 do_monitor           started at [22746] chan_sip.c restart_monitor()
0x7fc5e4105700 desc->accept_fn      started at [  486] tcptls.c ast_tcptls_server_start()
0x7fc5e4181700 do_timing            started at [  482] res_timing_pthread.c init_timing_thread()
0x7fc5e74dc700 do_parking_thread    started at [ 4683] features.c ast_features_init()
0x7fc5e7558700 tps_processing_function started at [  451] taskprocessor.c ast_taskprocessor_get()
0x7fc5e75d4700 do_devstate_changes  started at [  727] devicestate.c ast_device_state_engine_init()
0x7fc5e7650700 inotify_daemon       started at [  295] stdtime/localtime.c add_notify()
0x7fc5e76cc700 desc->accept_fn      started at [  486] tcptls.c ast_tcptls_server_start()
0x7fc5e9d65700 logger_thread        started at [ 1018] logger.c init_logger()
0x7fc5e9de1700 listener             started at [ 1393] asterisk.c ast_makesocket()
0x7fc5e9e5d700 tps_processing_function started at [  451] taskprocessor.c ast_taskprocessor_get()
0x7fc5e9ed9700 canary_thread        started at [ 3566] asterisk.c main()

IAX был запрещен в sip.conf, но модуль я выгрузил, в конфиге прописал чтобы не загружался. в консоли астериска команды reload и core restart now эффекта не дали - загрузка процессора осталась.

Пришлось делать рестарт asterisk.

Интересно чем закончилось дело. У меня похожая ситуация. Повышение disk i/o отмечается munin. Как понять что это именно в нем дело? Как бы не сталкивался с такими вещами.

сегодня опять проявилась проблема. iotop в порядке, сетевой активности нет. куча процессов астериска + astcanary гугл не помог. При этом:

core show channels

Channel              Location             State   Application(Data)             
SIP/mangosip-0000091 (None)               Up      AppDial((Outgoing Line))      
Local/7411122@outgoi s@macro-dialout:25   Up      Dial(SIP/mangosip/74957411122,
Local/7411122@outgoi 7411122@outgoing:1   Up      (None)  

 sip show channels - пусто

taskprocessors

        +----- Processor -----+--- Processed ---+- In Queue -+- Max Depth -+
               app_queue               21877            0            5
   core_event_dispatcher               21885            0            4
           app_voicemail                   0            0            0
                pbx-core               21880            0            4
        +---------------------+-----------------+------------+-------------+
        4 taskprocessors

threads

0x7fc5bebc0700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be09a700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be116700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be192700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be20e700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be28a700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be306700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be382700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be3fe700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be47a700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be4f6700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be7de700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be572700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be85a700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be8d6700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be6e6700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5beb42700 handle_tcptls_connection started at [  280] tcptls.c ast_tcptls_server_root()
0x7fc5be762700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5bea4a700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be952700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be9ce700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5beac6700 mixmonitor_thread    started at [  467] app_mixmonitor.c launch_monitor_thread()
0x7fc5becb8700 pbx_thread           started at [ 4583] pbx.c ast_pbx_start()
0x7fc5be66a700 mixmonitor_thread    started at [  467] app_mixmonitor.c launch_monitor_thread()
0x7fc5be5ee700 pbx_thread           started at [ 4583] pbx.c ast_pbx_start()
0x7fc5bed34700 handle_tcptls_connection started at [  280] tcptls.c ast_tcptls_server_root()
0x7fc5bec3c700 autoservice_run      started at [  209] autoservice.c ast_autoservice_start()
0x7fc5bedb0700 network_thread       started at [11749] chan_iax2.c start_network_thread()
0x7fc5bee2c700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5beea8700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5bef24700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5befa0700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5bf01c700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5bf098700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5bf114700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5bf190700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5bf20c700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5bf288700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5bf304700 sched_run            started at [  179] sched.c ast_sched_thread_create()
0x7fc5bf380700 scan_thread          started at [  524] pbx_spool.c load_module()
0x7fc5bf3fc700 tps_processing_function started at [  451] taskprocessor.c ast_taskprocessor_get()
0x7fc5bf478700 do_monitor           started at [ 3491] chan_mgcp.c restart_monitor()
0x7fc5bf4f4700 do_monitor           started at [ 1144] chan_phone.c restart_monitor()
0x7fc5bf570700 do_monitor           started at [ 9822] chan_dahdi.c restart_monitor()
0x7fc5bf5ec700 lock_broker          started at [  490] func_lock.c load_module()
0x7fc5bf668700 do_monitor           started at [ 4607] chan_unistim.c restart_monitor()
0x7fc5bf6e4700 process_clearcache   started at [ 2268] pbx_dundi.c start_network_thread()
0x7fc5bf760700 process_precache     started at [ 2267] pbx_dundi.c start_network_thread()
0x7fc5bf7dc700 network_thread       started at [ 2266] pbx_dundi.c start_network_thread()
0x7fc5bf858700 tps_processing_function started at [  451] taskprocessor.c ast_taskprocessor_get()
0x7fc5e4089700 do_monitor           started at [22746] chan_sip.c restart_monitor()
0x7fc5e4105700 desc->accept_fn      started at [  486] tcptls.c ast_tcptls_server_start()
0x7fc5e4181700 do_timing            started at [  482] res_timing_pthread.c init_timing_thread()
0x7fc5e74dc700 do_parking_thread    started at [ 4683] features.c ast_features_init()
0x7fc5e7558700 tps_processing_function started at [  451] taskprocessor.c ast_taskprocessor_get()
0x7fc5e75d4700 do_devstate_changes  started at [  727] devicestate.c ast_device_state_engine_init()
0x7fc5e7650700 inotify_daemon       started at [  295] stdtime/localtime.c add_notify()
0x7fc5e76cc700 desc->accept_fn      started at [  486] tcptls.c ast_tcptls_server_start()
0x7fc5e9d65700 logger_thread        started at [ 1018] logger.c init_logger()
0x7fc5e9de1700 listener             started at [ 1393] asterisk.c ast_makesocket()
0x7fc5e9e5d700 tps_processing_function started at [  451] taskprocessor.c ast_taskprocessor_get()
0x7fc5e9ed9700 canary_thread        started at [ 3566] asterisk.c main()

IAX был запрещен в sip.conf, но модуль я выгрузил, в конфиге прописал чтобы не загружался. в консоли астериска команды reload и core restart now эффекта не дали - загрузка процессора осталась.

Пришлось делать рестарт asterisk.asterisk. Asterisk 1.6.2.9-2+squeeze6 built by pbuilder @ boomtime on a x8664 running Linux on 2012-06-05 09:26:56 UTC Ядро: Linux 2.6.32-custom x8664 ОС: Debian GNU/Linux 6.0.5

Интересно чем закончилось дело. У меня похожая ситуация. Повышение disk i/o отмечается munin. Как понять что это именно в нем дело? Как бы не сталкивался с такими вещами.

сегодня опять проявилась проблема. iotop в порядке, сетевой активности нет. куча процессов астериска + astcanary гугл не помог. При этом:

core show channels

Channel              Location             State   Application(Data)             
SIP/mangosip-0000091 (None)               Up      AppDial((Outgoing Line))      
Local/7411122@outgoi s@macro-dialout:25   Up      Dial(SIP/mangosip/74957411122,
Local/7411122@outgoi 7411122@outgoing:1   Up      (None)  

 sip show channels - пусто

taskprocessors

        +----- Processor -----+--- Processed ---+- In Queue -+- Max Depth -+
               app_queue               21877            0            5
   core_event_dispatcher               21885            0            4
           app_voicemail                   0            0            0
                pbx-core               21880            0            4
        +---------------------+-----------------+------------+-------------+
        4 taskprocessors

threads

0x7fc5bebc0700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be09a700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be116700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be192700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be20e700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be28a700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be306700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be382700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be3fe700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be47a700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be4f6700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be7de700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be572700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be85a700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be8d6700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be6e6700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5beb42700 handle_tcptls_connection started at [  280] tcptls.c ast_tcptls_server_root()
0x7fc5be762700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5bea4a700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be952700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5be9ce700 netconsole           started at [ 1333] asterisk.c listener()
0x7fc5beac6700 mixmonitor_thread    started at [  467] app_mixmonitor.c launch_monitor_thread()
0x7fc5becb8700 pbx_thread           started at [ 4583] pbx.c ast_pbx_start()
0x7fc5be66a700 mixmonitor_thread    started at [  467] app_mixmonitor.c launch_monitor_thread()
0x7fc5be5ee700 pbx_thread           started at [ 4583] pbx.c ast_pbx_start()
0x7fc5bed34700 handle_tcptls_connection started at [  280] tcptls.c ast_tcptls_server_root()
0x7fc5bec3c700 autoservice_run      started at [  209] autoservice.c ast_autoservice_start()
0x7fc5bedb0700 network_thread       started at [11749] chan_iax2.c start_network_thread()
0x7fc5bee2c700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5beea8700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5bef24700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5befa0700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5bf01c700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5bf098700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5bf114700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5bf190700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5bf20c700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5bf288700 iax2_process_thread  started at [11739] chan_iax2.c start_network_thread()
0x7fc5bf304700 sched_run            started at [  179] sched.c ast_sched_thread_create()
0x7fc5bf380700 scan_thread          started at [  524] pbx_spool.c load_module()
0x7fc5bf3fc700 tps_processing_function started at [  451] taskprocessor.c ast_taskprocessor_get()
0x7fc5bf478700 do_monitor           started at [ 3491] chan_mgcp.c restart_monitor()
0x7fc5bf4f4700 do_monitor           started at [ 1144] chan_phone.c restart_monitor()
0x7fc5bf570700 do_monitor           started at [ 9822] chan_dahdi.c restart_monitor()
0x7fc5bf5ec700 lock_broker          started at [  490] func_lock.c load_module()
0x7fc5bf668700 do_monitor           started at [ 4607] chan_unistim.c restart_monitor()
0x7fc5bf6e4700 process_clearcache   started at [ 2268] pbx_dundi.c start_network_thread()
0x7fc5bf760700 process_precache     started at [ 2267] pbx_dundi.c start_network_thread()
0x7fc5bf7dc700 network_thread       started at [ 2266] pbx_dundi.c start_network_thread()
0x7fc5bf858700 tps_processing_function started at [  451] taskprocessor.c ast_taskprocessor_get()
0x7fc5e4089700 do_monitor           started at [22746] chan_sip.c restart_monitor()
0x7fc5e4105700 desc->accept_fn      started at [  486] tcptls.c ast_tcptls_server_start()
0x7fc5e4181700 do_timing            started at [  482] res_timing_pthread.c init_timing_thread()
0x7fc5e74dc700 do_parking_thread    started at [ 4683] features.c ast_features_init()
0x7fc5e7558700 tps_processing_function started at [  451] taskprocessor.c ast_taskprocessor_get()
0x7fc5e75d4700 do_devstate_changes  started at [  727] devicestate.c ast_device_state_engine_init()
0x7fc5e7650700 inotify_daemon       started at [  295] stdtime/localtime.c add_notify()
0x7fc5e76cc700 desc->accept_fn      started at [  486] tcptls.c ast_tcptls_server_start()
0x7fc5e9d65700 logger_thread        started at [ 1018] logger.c init_logger()
0x7fc5e9de1700 listener             started at [ 1393] asterisk.c ast_makesocket()
0x7fc5e9e5d700 tps_processing_function started at [  451] taskprocessor.c ast_taskprocessor_get()
0x7fc5e9ed9700 canary_thread        started at [ 3566] asterisk.c main()

IAX был запрещен в sip.conf, но модуль я выгрузил, в конфиге прописал чтобы не загружался. в консоли астериска команды reload и core restart now эффекта не дали - загрузка процессора осталась.

Пришлось делать рестарт asterisk. asterisk.

Asterisk 1.6.2.9-2+squeeze6 built by pbuilder @ boomtime on a x8664 x86_64 running Linux on 2012-06-05 09:26:56 UTC
Ядро:    Linux 2.6.32-custom x8664
x86_64
ОС:      Debian  GNU/Linux  6.0.5

6.0.5

Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией GNU GPL.