well it was working great for 2 months with low traffic.. reloading routes several times a day.. once I loaded these 120 routes into cr, now I'm having these problems.. <div><br class="webkit-block-placeholder"></div><div>
I'll try to unload the routes and see if things change.. I'm not sure how it's relevant...</div><div>-Brett</div><div><br><br><div class="gmail_quote">On Fri, Mar 20, 2009 at 12:36 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Brett,<br>
<br>
tried to run the 50 calls through the proxy and do "dlg_list" , but works ok - I do not have the CR module....Can you try all this but without the CR module?<div class="im"><br>
<br>
Regards,<br>
Bogdan<br>
<br>
Brett Nemeroff wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Here's a piece of information that may be relevant....<br>
<br>
So I restart opensips completely..<br>
<br>
Then I do a:<br>
opensipsctl cr reload<br>
<br>
works fine<br>
<br>
then I do:<br>
opensipsctl fifo dlg_list<br>
<br>
and I get:<br>
500 command 'dlg_list' failed<br>
<br>
Next I try:<br>
opensipsctl cr reload<br>
<br>
and I get:<br>
500 failed to re-built tree, see log<br>
<br>
And then opensipsctl cr reload never works again unless I restart the process..<br>
<br>
The log message, as I mentioned in my last email shows:<br>
Mar 20 12:52:21 sip1 /usr/local/sbin/opensips[23232]: ERROR:db_mysql:db_mysql_convert_rows: no private memory left Mar 20 12:52:21 sip1 /usr/local/sbin/opensips[23232]: ERROR:db_mysql:db_mysql_convert_result: error while converting rows Mar 20 12:52:21 sip1 /usr/local/sbin/opensips[23232]: ERROR:db_mysql:db_mysql_store_result: error while converting result Mar 20 12:52:21 sip1 /usr/local/sbin/opensips[23232]: ERROR:core:db_do_query: error while storing result<br>
Mar 20 12:52:21 sip1 /usr/local/sbin/opensips[23232]: ERROR:carrierroute:load_route_data: Failed to query database. Mar 20 12:52:21 sip1 /usr/local/sbin/opensips[23232]: ERROR:carrierroute:prepare_route_tree: could not load routing data <br>
Help?<br>
Thanks,<br>
Brett<br>
<br>
<br></div><div class="im">
On Fri, Mar 20, 2009 at 11:49 AM, Brett Nemeroff <<a href="mailto:brett@nemeroff.com" target="_blank">brett@nemeroff.com</a> <mailto:<a href="mailto:brett@nemeroff.com" target="_blank">brett@nemeroff.com</a>>> wrote:<br>
<br>
Bogdan,<br>
Now I get the following even on a:<br>
opensipsctl cr reload<br>
<br>
Mar 20 12:47:35 sip1 /usr/local/sbin/opensips[6115]:<br>
ERROR:db_mysql:db_mysql_convert_rows: no private memory left Mar 20 12:47:35 sip1 /usr/local/sbin/opensips[6115]:<br>
ERROR:db_mysql:db_mysql_convert_result: error while converting rows Mar 20 12:47:35 sip1 /usr/local/sbin/opensips[6115]:<br>
ERROR:db_mysql:db_mysql_store_result: error while converting result Mar 20 12:47:35 sip1 /usr/local/sbin/opensips[6115]:<br>
ERROR:core:db_do_query: error while storing result<br>
Mar 20 12:47:35 sip1 /usr/local/sbin/opensips[6115]:<br>
ERROR:carrierroute:load_route_data: Failed to query database. Mar 20 12:47:35 sip1 /usr/local/sbin/opensips[6115]:<br>
ERROR:carrierroute:prepare_route_tree: could not load routing data <br>
I'm pretty concerned about this.. not sure why it all of a sudden<br>
began to happen. Server otherwise looks healthy?<br>
<br>
Any ideas?<br>
<br>
-Brett<br>
<br>
<br>
On Thu, Mar 19, 2009 at 8:27 PM, Brett Nemeroff<br></div><div><div></div><div class="h5">
<<a href="mailto:brett@nemeroff.com" target="_blank">brett@nemeroff.com</a> <mailto:<a href="mailto:brett@nemeroff.com" target="_blank">brett@nemeroff.com</a>>> wrote:<br>
<br>
Hey All,<br>
I'm using 1.4.4-notls with the carrierroute module. Everything<br>
was working fine with about 6 routes loaded. Then I loaded an<br>
addition 120 routes and now when I execute:<br>
opensipsctl fifo dlg_list<br>
<br>
I get:<br>
[root@sip1 opensips-1.4.4-notls]# opensipsctl fifo dlg_list<br>
500 command 'dlg_list' failed<br>
[root@sip1 opensips-1.4.4-notls]# Mar 19 21:23:44 sip1 /usr/local/sbin/opensips[6115]:<br>
ERROR:core:create_mi_node: no more pkg mem Mar 19 21:23:44 sip1 /usr/local/sbin/opensips[6115]:<br>
ERROR:dialog:internal_mi_print_dlg: failed to add node Mar 19 21:23:44 sip1 /usr/local/sbin/opensips[6115]:<br>
ERROR:dialog:internal_mi_print_dlgs: failed to print dialog Mar 19 21:23:44 sip1 /usr/local/sbin/opensips[6115]:<br>
ERROR:mi_fifo:mi_fifo_server: command (dlg_list) processing<br>
failed <br>
I've tried increasing the pkg mem in config.h:<br>
#define PKG_MEM_POOL_SIZE 4*1024*1024 /*!< Used only<br>
if PKG_MALLOC is defined*/<br>
#define SHM_MEM_SIZE 32 /*!< Used if<br>
SH_MEM is defined*/<br>
<br>
And followed it up with a make / make install / restart<br>
<br>
And got the same result. I sent a SIGUSR1 to process 6115 and<br>
got the following:<br>
<br>
<br>
[root@sip1 opensips-1.4.4-notls]# Mar 19 21:21:25 sip1<br>
/usr/local/sbin/opensips[6115]: Memory status (pkg): Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: fm_status<br>
(0x819ac00): Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: heap<br>
size= 4194304 Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: used=<br>
72488, used+overhead=681312, free=3512992 Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: max used<br>
(+overhead)= 4194448 Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: dumping<br>
free list: Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash = 1 fragments no.: 3, unused: 0 bucket<br>
size: 8 - 8 (first 8) Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash = 4 fragments no.: 20455, unused: 0 bucket<br>
size: 32 - 32 (first 32) Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash = 5 fragments no.: 20315, unused: 0 bucket<br>
size: 40 - 40 (first 40) Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash = 6 fragments no.: 9127, unused: 0 bucket<br>
size: 48 - 48 (first 48) Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash = 7 fragments no.: 96, unused: 0 bucket<br>
size: 56 - 56 (first 56) Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash = 8 fragments no.: 15195, unused: 0 bucket<br>
size: 64 - 64 (first 64) Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash = 9 fragments no.: 3881, unused: 0 bucket<br>
size: 72 - 72 (first 72) Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash =<br>
10 fragments no.: 4311, unused: 0 bucket<br>
size: 80 - 80 (first 80) Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash =<br>
11 fragments no.: 10, unused: 0 bucket<br>
size: 88 - 88 (first 88) Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash =<br>
12 fragments no.: 16, unused: 0 bucket<br>
size: 96 - 96 (first 96) Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash =<br>
13 fragments no.: 25, unused: 0 bucket<br>
size: 104 - 104 (first 104) Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash =<br>
14 fragments no.: 4, unused: 0 bucket<br>
size: 112 - 112 (first 112) Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash =<br>
15 fragments no.: 1, unused: 0 bucket<br>
size: 120 - 120 (first 120) Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: hash =<br>
16 fragments no.: 1, unused: 0 bucket<br>
size: 128 - 128 (first 128) Mar 19 21:21:25 sip1 /usr/local/sbin/opensips[6115]: TOTAL:<br>
73440 free fragments = 3513160 free bytes <br>
<br>
Not sure what to do here... any ideas?<br>
<br>
Thanks,<br>
Brett<br>
<br>
<br>
<br></div></div><div class="im">
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</div></blockquote>
<br>
</blockquote></div><br></div>