[OpenSIPS-Users] opensips 1.6.4 out of memory

Anca Vamanu anca at opensips.org
Fri Mar 11 12:04:04 CET 2011


Hi Iulian,

I suggest to update the dialog module from svn, branch 1.6. There was a 
memory leak discovered after the 1.6.2 release and it was fixed in 
January. It might also be showing up in your configuration.

Regards,
----
Anca Vamanu
OpenSIPS Developer

On 03/11/2011 11:39 AM, Iulian Macare wrote:
> That's the version I am using. 1.6.4-2 ; I tried to double the SHM 
> parameter and recompile but the same problem happened.
>
> opensips-1.6.4-2-notls_src.tar.gz
>
> On Fri, Mar 11, 2011 at 11:37 AM, Denis Putyato <denis7979 at mail.ru 
> <mailto:denis7979 at mail.ru>> wrote:
>
>     Hello
>
>     I had the same problem on 1.6.4, you should use 1.6.4-2 version
>
>     *From:*users-bounces at lists.opensips.org
>     <mailto:users-bounces at lists.opensips.org>
>     [mailto:users-bounces at lists.opensips.org
>     <mailto:users-bounces at lists.opensips.org>] *On Behalf Of *Iulian
>     Macare
>     *Sent:* Friday, March 11, 2011 12:24 PM
>     *To:* users at lists.opensips.org <mailto:users at lists.opensips.org>
>     *Subject:* [OpenSIPS-Users] opensips 1.6.4 out of memory
>
>     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 <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> 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/75c88bdc/attachment-0001.htm>


More information about the Users mailing list