[OpenSIPS-Users] opensips 1.6.4 out of memory
Vlad Paiu
vladpaiu at opensips.org
Fri Mar 11 12:21:18 CET 2011
Hello Iulian,
I took a look at the error output, and something seems very wrong. The
errors
ERROR:core:print_rr_body: too many RR
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.
Regards,
--
Vlad Paiu
OpenSIPS Developer
On 03/11/2011 11:23 AM, Iulian Macare wrote:
> 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
>
> The erors I get are :
>
> Any ideas?
>
> Mar 11 11:15:08 opensipsh /usr/local/sbin/opensips[1718]:
> ERROR:tm:new_t: out of mem
> Mar 11 11:15:08 opensipsh /usr/local/sbin/opensips[1701]:
> ERROR:tm:sip_msg_cloner: no more share memory
> Mar 11 11:15:08 opensipsh /usr/local/sbin/opensips[1716]:
> ERROR:dialog:dlg_create_dialog: could not add further info to the dialog
> Mar 11 11:15:08 opensipsh /usr/local/sbin/opensips[1706]:
> ERROR:dialog:dlg_create_dialog: could not add further info to the dialog
> Mar 11 11:15:08 opensipsh /usr/local/sbin/opensips[1727]:
> ERROR:tm:t_newtran: new_t failed
> Mar 11 11:15:08 opensipsh /usr/local/sbin/opensips[1704]:
> ERROR:tm:t_newtran: new_t failed
> Mar 11 11:15:08 opensipsh /usr/local/sbin/opensips[1700]:
> ERROR:load_balancer:do_load_balance: failed to create dialog
> Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1698]:
> ERROR:tm:t_newtran: new_t failed
> Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1723]:
> ERROR:tm:t_newtran: new_t failed
> Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1725]:
> ERROR:core:print_rr_body: too many RR
> Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1708]:
> ERROR:dialog:dlg_add_leg_info: Failed to resize legs array
> Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1712]:
> ERROR:dialog:dlg_add_leg_info: Failed to resize legs array
> Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1714]:
> ERROR:dialog:dlg_create_dialog: could not add further info to the dialog
> Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1720]:
> ERROR:tm:t_newtran: new_t failed
> Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1721]:
> ERROR:tm:new_t: out of mem
> Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1710]:
> ERROR:tm:sip_msg_cloner: no more share memory
> Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1718]:
> ERROR:tm:sip_msg_cloner: no more share memory
> Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1701]:
> ERROR:tm:t_newtran: new_t failed
> Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1716]:
> ERROR:dialog:init_leg_info: dlg_add_leg_info failed
> Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1706]:
> ERROR:dialog:init_leg_info: dlg_add_leg_info failed
> Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1727]:
> ERROR:tm:new_t: out of mem
> Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1704]:
> ERROR:tm:new_t: out of mem
> Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1700]:
> ERROR:dialog:dlg_create_dialog: could not add further info to the dialog
> Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1698]:
> ERROR:tm:new_t: out of mem
> Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1723]:
> ERROR:tm:new_t: out of mem
> Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1708]:
> ERROR:tm:t_newtran: new_t failed
> Mar 11 11:15:07 opensipsh /usr/local/sbin/opensips[1712]:
> ERROR:tm:t_newtran: new_t failed
> Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1701]:
> ERROR:tm:t_newtran: new_t failed
> Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1716]:
> ERROR:tm:new_t: out of mem
> Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1706]:
> ERROR:tm:new_t: out of mem
> Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1727]:
> ERROR:dialog:get_routing_info: failed to print route records
> Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1725]:
> ERROR:dialog:dlg_add_leg_info: Failed to resize legs array
> Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1704]:
> ERROR:dialog:get_routing_info: failed to print route records
> Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1700]:
> ERROR:dialog:get_routing_info: failed to print route records
> Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1698]:
> ERROR:dialog:get_routing_info: failed to print route records
> Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1723]:
> ERROR:dialog:dlg_add_leg_info: no more shm mem
> Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1708]:
> ERROR:dialog:dlg_add_leg_info: Failed to resize legs array
> Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1712]:
> ERROR:dialog:dlg_add_leg_info: Failed to resize legs array
> Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1714]:
> ERROR:dialog:build_new_dlg: no more shm mem (202)
> Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1720]:
> ERROR:tm:shm_clone_proxy: no more shm memory
> Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1721]:
> ERROR:tm:sip_msg_cloner: no more share memory
> Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1710]:
> ERROR:dialog:dlg_add_leg_info: Failed to resize legs array
> Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1718]:
> ERROR:core:build_req_buf_from_sip_req: out of pkg memory
> Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1701]:
> ERROR:tm:new_t: out of mem
> Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1716]:
> ERROR:tm:sip_msg_cloner: no more share memory
> Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1706]:
> ERROR:tm:sip_msg_cloner: no more share memory
> Mar 11 11:15:04 opensipsh /usr/local/sbin/opensips[1727]:
> ERROR:core:print_rr_body: too many RR
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1725]:
> ERROR:dialog:get_routing_info: failed to print route records
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1704]:
> ERROR:core:print_rr_body: too many RR
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1700]:
> ERROR:core:print_rr_body: too many RR
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1698]:
> ERROR:core:print_rr_body: too many RR
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1708]:
> ERROR:dialog:get_routing_info: failed to print route records
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1718]:
> ERROR:dialog:get_routing_info: failed to print route records
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1725]:
> ERROR:core:print_rr_body: too many RR
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1704]:
> ERROR:dialog:get_routing_info: failed to print route records
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1706]:
> ERROR:dialog:get_routing_info: failed to print route records
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1720]:
> ERROR:dialog:get_routing_info: failed to print route records
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1708]:
> ERROR:core:print_rr_body: too many RR
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1718]:
> ERROR:core:print_rr_body: too many RR
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1704]:
> ERROR:core:print_rr_body: too many RR
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1706]:
> ERROR:core:print_rr_body: too many RR
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1720]:
> ERROR:core:print_rr_body: too many RR
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1708]:
> ERROR:dialog:get_routing_info: failed to print route records
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1718]:
> ERROR:dialog:get_routing_info: failed to print route records
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1704]:
> ERROR:dialog:get_routing_info: failed to print route records
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1706]:
> ERROR:dialog:get_routing_info: failed to print route records
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1720]:
> ERROR:dialog:get_routing_info: failed to print route records
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1700]:
> ERROR:dialog:get_routing_info: failed to print route records
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1708]:
> ERROR:core:print_rr_body: too many RR
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1718]:
> ERROR:core:print_rr_body: too many RR
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1704]:
> ERROR:core:print_rr_body: too many RR
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1706]:
> ERROR:core:print_rr_body: too many RR
> Mar 11 11:15:03 opensipsh /usr/local/sbin/opensips[1720]:
> ERROR:core:print_rr_body: too many RR
> Mar 11 11:15:02 opensipsh /usr/local/sbin/opensips[1700]:
> ERROR:dialog:get_routing_info: failed to print route records
> Mar 11 11:15:02 opensipsh /usr/local/sbin/opensips[1700]:
> ERROR:core:print_rr_body: too many RR
> Mar 11 11:15:02 opensipsh /usr/local/sbin/opensips[1700]:
> ERROR:dialog:get_routing_info: failed to print route records
> Mar 11 11:15:02 opensipsh /usr/local/sbin/opensips[1700]:
> ERROR:core:print_rr_body: too many RR
> Mar 11 11:15:02 opensipsh /usr/local/sbin/opensips[1704]:
> ERROR:dialog:get_routing_info: failed to print route records
> Mar 11 11:15:02 opensipsh /usr/local/sbin/opensips[1704]:
> ERROR:core:print_rr_body: too many RR
> Mar 11 11:15:02 opensipsh /usr/local/sbin/opensips[1704]:
> ERROR:dialog:get_routing_info: failed to print route records
> Mar 11 11:15:02 opensipsh /usr/local/sbin/opensips[1704]:
> ERROR:core:print_rr_body: too many RR
> Mar 11 11:15:02 opensipsh /usr/local/sbin/opensips[1704]:
> ERROR:dialog:get_routing_info: failed to print route records
> Mar 11 11:15:02 opensipsh /usr/local/sbin/opensips[1704]:
> ERROR:core:print_rr_body: too many RR
> Mar 11 11:15:02 opensipsh /usr/local/sbin/opensips[1700]:
> ERROR:dialog:get_routing_info: failed to print route records
> Mar 11 11:15:02 opensipsh /usr/local/sbin/opensips[1700]:
> ERROR:core:print_rr_body: too many RR
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110311/b221c3ae/attachment.htm>
More information about the Users
mailing list