I think this is the problem; <br><br>I took a look in logs and I saw ERROR:core:print_rr_body: too many RR .... more of this. Anyway since 3 days it didn't blocked anymore. I have increased the parameter SHM_MEM ... <br>
<br>I still get from time to time those errors with too many RR and in that moment the shm memory increasez ... but it doesn't reach to 512mb .. I don;t know how to isolate the problem because I have so many calls....<br>
<br>#define SHM_MEM_SIZE 512 <br><br><div class="gmail_quote">On Fri, Mar 11, 2011 at 1:21 PM, Vlad Paiu <span dir="ltr"><<a href="mailto:vladpaiu@opensips.org" target="_blank">vladpaiu@opensips.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff">
Hello Iulian,<br>
<br>
I took a look at the error output, and something seems very wrong. The
errors <br><div>
ERROR:core:print_rr_body: too many RR<br></div>
suggest the fact the your SIP messages have more than 64 Record-Route
headers, which is huge. Are you sure you are not having a traffic loop
problem ? Please post a traffic capture of SIP messages that trigger
the out of mem problems.<br>
<br>
Regards,<br>
<pre cols="72">--
Vlad Paiu
OpenSIPS Developer</pre><div><div></div><div>
<br>
<br>
On 03/11/2011 11:23 AM, Iulian Macare wrote:
</div></div><blockquote type="cite"><div><div></div><div>2-3 times per day my opensips configuration with 300
channels and a load balancer fails ; It's opensips 1.6.4 on centos 5.5.
32 bit <br>
<br>
The erors I get are :<br>
<br>
Any ideas?<br>
<br>
Mar 11 11:15:08 opensipsh /usr/local/sbin/opensips[1718]:
ERROR:tm:new_t: out of mem<br>
Mar 11 11:15:08 opensipsh /usr/local/sbin/opensips[1701]:
ERROR:tm:sip_msg_cloner: no more share memory<br>
Mar 11 11:15:08 opensipsh /usr/local/sbin/opensips[1716]:
ERROR:dialog:dlg_create_dialog: could not add further info to the dialog<br>
Mar 11 11:15:08 opensipsh /usr/local/sbin/opensips[1706]:
ERROR:dialog:dlg_create_dialog: could not add further info to the dialog<br>
Mar 11 11:15:08 opensipsh /usr/local/sbin/opensips[1727]:
ERROR:tm:t_newtran: new_t failed<br>
Mar 11 11:15:08 opensipsh /usr/local/sbin/opensips[1704]:
ERROR:tm:t_newtran: new_t failed<br>
Mar 11 11:15:08 opensipsh /usr/local/sbin/opensips[1700]:
ERROR:load_balancer:do_load_balance: failed to create dialog<br>
Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1698]:
ERROR:tm:t_newtran: new_t failed<br>
Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1723]:
ERROR:tm:t_newtran: new_t failed<br>
Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1725]:
ERROR:core:print_rr_body: too many RR<br>
Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1708]:
ERROR:dialog:dlg_add_leg_info: Failed to resize legs array<br>
Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1712]:
ERROR:dialog:dlg_add_leg_info: Failed to resize legs array<br>
Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1714]:
ERROR:dialog:dlg_create_dialog: could not add further info to the dialog<br>
Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1720]:
ERROR:tm:t_newtran: new_t failed<br>
Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1721]:
ERROR:tm:new_t: out of mem<br>
Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1710]:
ERROR:tm:sip_msg_cloner: no more share memory<br>
Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1718]:
ERROR:tm:sip_msg_cloner: no more share memory<br>
Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1701]:
ERROR:tm:t_newtran: new_t failed<br>
Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1716]:
ERROR:dialog:init_leg_info: dlg_add_leg_info failed<br>
Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1706]:
ERROR:dialog:init_leg_info: dlg_add_leg_info failed<br>
Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1727]:
ERROR:tm:new_t: out of mem<br>
Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1704]:
ERROR:tm:new_t: out of mem<br>
Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1700]:
ERROR:dialog:dlg_create_dialog: could not add further info to the dialog<br>
Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1698]:
ERROR:tm:new_t: out of mem<br>
Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1723]:
ERROR:tm:new_t: out of mem<br>
Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1708]:
ERROR:tm:t_newtran: new_t failed<br>
Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1712]:
ERROR:tm:t_newtran: new_t failed<br>
Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1701]:
ERROR:tm:t_newtran: new_t failed<br>
Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1716]:
ERROR:tm:new_t: out of mem<br>
Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1706]:
ERROR:tm:new_t: out of mem<br>
Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1727]:
ERROR:dialog:get_routing_info: failed to print route records<br>
Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1725]:
ERROR:dialog:dlg_add_leg_info: Failed to resize legs array<br>
Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1704]:
ERROR:dialog:get_routing_info: failed to print route records<br>
Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1700]:
ERROR:dialog:get_routing_info: failed to print route records<br>
Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1698]:
ERROR:dialog:get_routing_info: failed to print route records<br>
Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1723]:
ERROR:dialog:dlg_add_leg_info: no more shm mem<br>
Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1708]:
ERROR:dialog:dlg_add_leg_info: Failed to resize legs array<br>
Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1712]:
ERROR:dialog:dlg_add_leg_info: Failed to resize legs array<br>
Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1714]:
ERROR:dialog:build_new_dlg: no more shm mem (202)<br>
Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1720]:
ERROR:tm:shm_clone_proxy: no more shm memory<br>
Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1721]:
ERROR:tm:sip_msg_cloner: no more share memory<br>
Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1710]:
ERROR:dialog:dlg_add_leg_info: Failed to resize legs array<br>
Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1718]:
ERROR:core:build_req_buf_from_sip_req: out of pkg memory<br>
Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1701]:
ERROR:tm:new_t: out of mem<br>
Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1716]:
ERROR:tm:sip_msg_cloner: no more share memory<br>
Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1706]:
ERROR:tm:sip_msg_cloner: no more share memory<br>
Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1727]:
ERROR:core:print_rr_body: too many RR<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1725]:
ERROR:dialog:get_routing_info: failed to print route records<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1704]:
ERROR:core:print_rr_body: too many RR<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1700]:
ERROR:core:print_rr_body: too many RR<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1698]:
ERROR:core:print_rr_body: too many RR<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1708]:
ERROR:dialog:get_routing_info: failed to print route records<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1718]:
ERROR:dialog:get_routing_info: failed to print route records<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1725]:
ERROR:core:print_rr_body: too many RR<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1704]:
ERROR:dialog:get_routing_info: failed to print route records<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1706]:
ERROR:dialog:get_routing_info: failed to print route records<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1720]:
ERROR:dialog:get_routing_info: failed to print route records<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1708]:
ERROR:core:print_rr_body: too many RR<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1718]:
ERROR:core:print_rr_body: too many RR<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1704]:
ERROR:core:print_rr_body: too many RR<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1706]:
ERROR:core:print_rr_body: too many RR<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1720]:
ERROR:core:print_rr_body: too many RR<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1708]:
ERROR:dialog:get_routing_info: failed to print route records<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1718]:
ERROR:dialog:get_routing_info: failed to print route records<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1704]:
ERROR:dialog:get_routing_info: failed to print route records<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1706]:
ERROR:dialog:get_routing_info: failed to print route records<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1720]:
ERROR:dialog:get_routing_info: failed to print route records<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1700]:
ERROR:dialog:get_routing_info: failed to print route records<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1708]:
ERROR:core:print_rr_body: too many RR<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1718]:
ERROR:core:print_rr_body: too many RR<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1704]:
ERROR:core:print_rr_body: too many RR<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1706]:
ERROR:core:print_rr_body: too many RR<br>
Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1720]:
ERROR:core:print_rr_body: too many RR<br>
Mar 11 11:15:02 opensipsh /usr/local/sbin/opensips[1700]:
ERROR:dialog:get_routing_info: failed to print route records<br>
Mar 11 11:15:02 opensipsh /usr/local/sbin/opensips[1700]:
ERROR:core:print_rr_body: too many RR<br>
Mar 11 11:15:02 opensipsh /usr/local/sbin/opensips[1700]:
ERROR:dialog:get_routing_info: failed to print route records<br>
Mar 11 11:15:02 opensipsh /usr/local/sbin/opensips[1700]:
ERROR:core:print_rr_body: too many RR<br>
Mar 11 11:15:02 opensipsh /usr/local/sbin/opensips[1704]:
ERROR:dialog:get_routing_info: failed to print route records<br>
Mar 11 11:15:02 opensipsh /usr/local/sbin/opensips[1704]:
ERROR:core:print_rr_body: too many RR<br>
Mar 11 11:15:02 opensipsh /usr/local/sbin/opensips[1704]:
ERROR:dialog:get_routing_info: failed to print route records<br>
Mar 11 11:15:02 opensipsh /usr/local/sbin/opensips[1704]:
ERROR:core:print_rr_body: too many RR<br>
Mar 11 11:15:02 opensipsh /usr/local/sbin/opensips[1704]:
ERROR:dialog:get_routing_info: failed to print route records<br>
Mar 11 11:15:02 opensipsh /usr/local/sbin/opensips[1704]:
ERROR:core:print_rr_body: too many RR<br>
Mar 11 11:15:02 opensipsh /usr/local/sbin/opensips[1700]:
ERROR:dialog:get_routing_info: failed to print route records<br>
Mar 11 11:15:02 opensipsh /usr/local/sbin/opensips[1700]:
ERROR:core:print_rr_body: too many RR<br>
<br>
<br>
</div></div><pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<div><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</div></pre>
</blockquote>
<br>
<br>
</div>
<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></blockquote></div><br><div style="display: inline;"></div>
<div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style>