[OpenSIPS-Users] opensips 1.6.4 out of memory

Iulian Macare iulian.macare at gmail.com
Fri Mar 11 14:19:29 CET 2011


I've got the same problem;

CRITICAL:db_mysql:wrapper_single_mysql_stmt_execute: driver error (1048):
Column 'callee_contact' cannot be null
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22263]:
ERROR:tm:sip_msg_cloner: no more share memory
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22285]:
ERROR:tm:sip_msg_cloner: no more share memory
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22279]:
ERROR:tm:print_uac_request: no more shm_mem
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22283]:
ERROR:tm:sip_msg_cloner: no more share memory
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22281]:
ERROR:tm:sip_msg_cloner: no more share memory
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22275]:
ERROR:tm:sip_msg_cloner: no more share memory
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22271]:
ERROR:tm:sip_msg_cloner: no more share memory
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22277]:
ERROR:tm:sip_msg_cloner: no more share memory
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22265]:
ERROR:tm:sip_msg_cloner: no more share memory
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22259]:
ERROR:tm:sip_msg_cloner: no more share memory
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22257]: ERROR:tm:new_t:
out of mem
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22273]: ERROR:tm:new_t:
out of mem
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22287]:
ERROR:tm:sip_msg_cloner: no more share memory
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22267]:
ERROR:tm:sip_msg_cloner: no more share memory
Mar 11 15:16:25 opensipsh /usr/local/sbin/opensips[22269]:
ERROR:tm:sip_msg_cloner: no more share memory
Mar 11 15:16:25 opensipsh /usr/local/sbin/opensips[22261]:
ERROR:tm:sip_msg_cloner: no more share memory
Mar 11 15:16:25 opensipsh /usr/local/sbin/opensips[22263]:
ERROR:tm:relay_reply: no more share memory
Mar 11 15:16:25 opensipsh /usr/local/sbin/opensips[22279]:
ERROR:core:build_req_buf_from_sip_req: out of pkg memory
Mar 11 15:16:25 opensipsh /usr/local/sbin/opensips[22283]:
ERROR:tm:relay_reply: no more share memory
Mar 11 15:16:25 opensipsh /usr/local/sbin/opensips[22275]:
ERROR:tm:relay_reply: no more share memory
Mar 11 15:16:25 opensipsh /usr/local/sbin/opensips[22259]:
ERROR:tm:relay_reply: no more share memory
Mar 11 15:16:25 opensipsh /usr/local/sbin/opensips[22257]:
ERROR:tm:sip_msg_cloner: no more share memory
Mar 11 15:16:25 opensipsh /usr/local/sbin/opensips[22273]:
ERROR:tm:sip_msg_cloner: no more share memory
Mar 11 15:16:27 opensipsh /usr/local/sbin/opensips[22279]:
ERROR:tm:sip_msg_cloner: no more share memory
Mar 11 15:16:27 opensipsh /usr/local/sbin/opensips[22283]:
ERROR:tm:t_newtran: new_t failed
Mar 11 15:16:27 opensipsh /usr/local/sbin/opensips[22281]:
ERROR:tm:t_newtran: new_t failed
Mar 11 15:16:27 opensipsh /usr/local/sbin/opensips[22275]:
ERROR:tm:t_newtran: new_t failed
Mar 11 15:16:27 opensipsh /usr/local/sbin/opensips[22271]:
ERROR:tm:t_newtran: new_t failed
Mar 11 15:16:27 opensipsh /usr/local/sbin/opensips[22277]:
ERROR:tm:t_newtran: new_t failed
Mar 11 15:16:27 opensipsh /usr/local/sbin/opensips[22265]:
ERROR:tm:t_newtran: new_t failed
Mar 11 15:16:27 opensipsh /usr/local/sbin/opensips[22259]:
ERROR:tm:t_newtran: new_t failed
Mar 11 15:16:27 opensipsh /usr/local/sbin/opensips[22257]:
ERROR:tm:sip_msg_cloner: no more share memory
Mar 11 15:16:27 opensipsh /usr/local/sbin/opensips[22273]:
ERROR:tm:sip_msg_cloner: no more share memory
Mar 11 15:16:27 opensipsh /usr/local/sbin/opensips[22287]:
ERROR:tm:t_newtran: new_t failed
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22267]:
ERROR:tm:t_newtran: new_t failed
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22269]:
ERROR:tm:t_newtran: new_t failed
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22261]:
ERROR:tm:t_newtran: new_t failed
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22263]: ERROR:tm:new_t:
out of mem
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22285]: ERROR:tm:new_t:
out of mem
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22279]:
ERROR:tm:t_forward_nonack: failure to add branches
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22283]: ERROR:tm:new_t:
out of mem
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22281]: ERROR:tm:new_t:
out of mem
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22275]: ERROR:tm:new_t:
out of mem
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22271]: ERROR:tm:new_t:
out of mem
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22277]: ERROR:tm:new_t:
out of mem
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22265]: ERROR:tm:new_t:
out of mem
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22259]: ERROR:tm:new_t:
out of mem
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22257]:
ERROR:tm:t_newtran: new_t failed
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22273]:
ERROR:tm:t_newtran: new_t failed
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22287]: ERROR:tm:new_t:
out of mem
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22267]: ERROR:tm:new_t:
out of mem
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22269]: ERROR:tm:new_t:
out of mem
Mar 11 15:16:26 opensipsh /usr/local/sbin/opensips[22261]: ERROR:tm:new_t:
out of mem



On Fri, Mar 11, 2011 at 1:04 PM, Anca Vamanu <anca at opensips.org> wrote:

>  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> 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] *On Behalf Of *Iulian Macare
>> *Sent:* Friday, March 11, 2011 12:24 PM
>> *To:* 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
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://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/8728b920/attachment-0001.htm>


More information about the Users mailing list