[OpenSIPS-Users] Opensips fifo - dp_reload hangs

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Apr 6 16:51:28 CEST 2009


Hi Dan,

can you use gdb to attach to the fifo process (after freeze) to get the 
backtrace and to see what it is doing?

Regards,
Bogdan

Dan-Cristian Bogos wrote:
> Hi Bogdan,
>
> there are no errors in the debug (ran with level 4). Bellow you can find
> some of the debug I see (ignoring the values load).
> I should mention that I have not so much rules in, about 140.
>
> Let me know if you need further info.
>
> *************************************************************************
>
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:mi_fifo:mi_fifo_server: entered consume
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:mi_fifo:mi_fifo_server: **** done consume
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:mi_fifo:mi_fifo_server: done parsing the mi tree
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]: DBG:dialplan:dp_load_db:
> init
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]: DBG:core:db_do_query:
> SYNC-DBG - SELECT successfully executed!
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]: DBG:core:db_new_result:
> allocate 48 bytes for result set at 0x74a908
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:db_mysql:db_mysql_get_columns: 8 columns returned from the query
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:core:db_allocate_columns: allocate 224 bytes for result columns at
> 0x74a948
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x74a988)[0]=[dpid]
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:db_mysql:db_mysql_get_columns: use DB_INT result type
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x74a998)[1]=[pr]
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:db_mysql:db_mysql_get_columns: use DB_INT result type
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x74a9a8)[2]=[match_op]
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:db_mysql:db_mysql_get_columns: use DB_INT result type
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x74a9b8)[3]=[match_exp]
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x74a9c8)[4]=[match_len]
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:db_mysql:db_mysql_get_columns: use DB_INT result type
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x74a9d8)[5]=[subst_exp]
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x74a9e8)[6]=[repl_exp]
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x74a9f8)[7]=[attrs]
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:db_mysql:db_mysql_fetch_result: converting row 0 of 142 count 142
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:core:db_allocate_rows: allocate 38624 bytes for result rows and
> values at 0x7556b0
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:db_mysql:db_mysql_str2val: converting INT [112]
>
>
> .......
>
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:dialplan:trex_compile: 
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:dialplan:trex_compile: [00]    OP_EXPR 
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:dialplan:trex_compile: left 01 right 00 next -1
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:dialplan:trex_compile: [01]          3 
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:dialplan:trex_compile: left -1 right -1 next 02
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:dialplan:trex_compile: [02]          1 
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:dialplan:trex_compile: left -1 right -1 next 03
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:dialplan:trex_compile: [03]          3 
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:dialplan:trex_compile: left -1 right -1 next 04
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:dialplan:trex_compile: [04]          2 
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:dialplan:trex_compile: left -1 right -1 next 05
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:dialplan:trex_compile: [05]          0 
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:dialplan:trex_compile: left -1 right -1 next 07
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:dialplan:trex_compile: [06]     OP_DOT 
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:dialplan:trex_compile: left -1 right -1 next -1
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:dialplan:trex_compile: [07]  OP_GREEDY 
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:dialplan:trex_compile: left 06 right 131071 next -1
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]:
> DBG:dialplan:trex_compile: 
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]: DBG:dialplan:build_rule:
> build_rule
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]: DBG:dialplan:build_rule:
> attrs are 
>
> ......
>
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]: DBG:core:db_free_rows:
> freeing 142 rows
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]: DBG:core:db_free_row:
> freeing row values at 0x755f90
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]: DBG:core:db_free_row:
> freeing row values at 0x756090
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]: DBG:core:db_free_row:
> freeing row values at 0x756190
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]: DBG:core:db_free_row:
> freeing row values at 0x756290
>
> .......
>
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]: DBG:core:db_free_row:
> freeing row values at 0x75eb90
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]: DBG:core:db_free_row:
> freeing row values at 0x75ec90
> Apr  1 11:57:32 sip1 /usr/sbin/opensips[4800]: DBG:core:db_free_rows:
> freeing rows at 0x7556b0
>
> Nothing after ...
>
> Ta,
> DanB
>
>
>   




More information about the Users mailing list