Hey All,<div>I'm using 1.4.4-notls with the carrierroute module. Everything was working fine with about 6 routes loaded. Then I loaded an addition 120 routes and now when I execute:</div><div>opensipsctl fifo dlg_list</div>
<div><br></div><div>I get:</div><div><div>[root@sip1 opensips-1.4.4-notls]# opensipsctl fifo dlg_list</div><div>500 command 'dlg_list' failed</div><div>[root@sip1 opensips-1.4.4-notls]# </div><div>Mar 19 21:23:44 sip1 /usr/local/sbin/opensips[6115]: ERROR:core:create_mi_node: no more pkg mem </div>
<div>Mar 19 21:23:44 sip1 /usr/local/sbin/opensips[6115]: ERROR:dialog:internal_mi_print_dlg: failed to add node </div><div>Mar 19 21:23:44 sip1 /usr/local/sbin/opensips[6115]: ERROR:dialog:internal_mi_print_dlgs: failed to print dialog </div>
<div>Mar 19 21:23:44 sip1 /usr/local/sbin/opensips[6115]: ERROR:mi_fifo:mi_fifo_server: command (dlg_list) processing failed </div></div><div><br></div><div>I've tried increasing the pkg mem in config.h:</div><div><div>
#define PKG_MEM_POOL_SIZE 4*1024*1024 /*!< Used only if PKG_MALLOC is defined*/</div><div>#define SHM_MEM_SIZE 32 /*!< Used if SH_MEM is defined*/</div><div><br></div><div>And followed it up with a make / make install / restart</div>
<div><br></div><div>And got the same result. I sent a SIGUSR1 to process 6115 and got the following:</div></div><div><br></div><div><br></div><div><div>[root@sip1 opensips-1.4.4-notls]# Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: Memory status (pkg): </div>
<div>Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: fm_status (0x819ac00): </div><div>Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: heap size= 4194304 </div><div>Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: used= 72488, used+overhead=681312, free=3512992 </div>
<div>Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: max used (+overhead)= 4194448 </div><div>Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: dumping free list: </div><div>Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash = 1 fragments no.: 3, unused: 0 bucket size: 8 - 8 (first 8) </div>
<div>Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash = 4 fragments no.: 20455, unused: 0 bucket size: 32 - 32 (first 32) </div><div>Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash = 5 fragments no.: 20315, unused: 0 bucket size: 40 - 40 (first 40) </div>
<div>Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash = 6 fragments no.: 9127, unused: 0 bucket size: 48 - 48 (first 48) </div><div>Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash = 7 fragments no.: 96, unused: 0 bucket size: 56 - 56 (first 56) </div>
<div>Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash = 8 fragments no.: 15195, unused: 0 bucket size: 64 - 64 (first 64) </div><div>Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash = 9 fragments no.: 3881, unused: 0 bucket size: 72 - 72 (first 72) </div>
<div>Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash = 10 fragments no.: 4311, unused: 0 bucket size: 80 - 80 (first 80) </div><div>Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash = 11 fragments no.: 10, unused: 0 bucket size: 88 - 88 (first 88) </div>
<div>Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash = 12 fragments no.: 16, unused: 0 bucket size: 96 - 96 (first 96) </div><div>Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash = 13 fragments no.: 25, unused: 0 bucket size: 104 - 104 (first 104) </div>
<div>Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash = 14 fragments no.: 4, unused: 0 bucket size: 112 - 112 (first 112) </div><div>Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash = 15 fragments no.: 1, unused: 0 bucket size: 120 - 120 (first 120) </div>
<div>Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash = 16 fragments no.: 1, unused: 0 bucket size: 128 - 128 (first 128) </div><div>Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: TOTAL: 73440 free fragments = 3513160 free bytes </div>
<div><br></div><div><br></div><div>Not sure what to do here... any ideas?</div><div><br></div><div>Thanks,</div><div>Brett</div><div><br></div></div>