[Devel] Mem-leak in tm-module?

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Jun 26 22:27:16 CEST 2006


Hi Sumeet,

have you tried to use the latest CVS head? I made a small fix couple of 
hours ago...please update and see if the problem persists.

regards,
bogdan

Sumeet Gupta wrote:

> I believe I am experiencing the same problem. Increasing the shared 
> memory size does not help either. I increased it to 128 megs with high 
> load and still only moments after startup i recieve the following errors.
>
> -Sumeet
>
> Jun 26 11:44:58 sipserver01 /sbin/openser[21682]: ERROR: 
> sip_msg_cloner: cannot allocate memory
> Jun 26 11:44:58 sipserver01 /sbin/openser[21682]: ERROR: new_t: out of 
> mem:
> Jun 26 11:44:58 sipserver01 /sbin/openser[21682]: ERROR: t_newtran: 
> new_t failed
> Jun 26 11:44:58 sipserver01 /sbin/openser[21678]: ERROR: 
> sip_msg_cloner: cannot allocate memory
> Jun 26 11:44:58 sipserver01 /sbin/openser[21678]: ERROR: new_t: out of 
> mem:
> Jun 26 11:44:58 sipserver01 /sbin/openser[21678]: ERROR: t_newtran: 
> new_t failed
> Jun 26 11:44:58 sipserver01 /sbin/openser[21678]: ERROR: 
> sip_msg_cloner: cannot allocate memory
> Jun 26 11:44:58 sipserver01 /sbin/openser[21678]: ERROR: new_t: out of 
> mem:
> Jun 26 11:44:58 sipserver01 /sbin/openser[21678]: ERROR: t_newtran: 
> new_t failed
> Jun 26 11:44:58 sipserver01 /sbin/openser[21682]: ERROR: 
> sip_msg_cloner: cannot allocate memory
> Jun 26 11:44:58 sipserver01 /sbin/openser[21682]: ERROR: new_t: out of 
> mem:
> Jun 26 11:44:58 sipserver01 /sbin/openser[21682]: ERROR: t_newtran: 
> new_t failed
> Jun 26 11:44:59 sipserver01 /sbin/openser[21680]: ERROR: 
> sip_msg_cloner: cannot allocate memory
> Jun 26 11:44:59 sipserver01 /sbin/openser[21680]: ERROR: new_t: out of 
> mem:
>
>
>> From: Andreas Granig <andreas.granig at inode.info>
>> To: devel <devel at openser.org>
>> Subject: [Devel] Mem-leak in tm-module?
>> Date: Mon, 26 Jun 2006 14:39:35 +0200
>>
>> Hi,
>>
>> Seems like there's another mem-leak in OpenSER (CVS HEAD). If I 
>> simulate thousands of calls, the proxy runs out of shared memory, 
>> with memlog-lines like the following at shutdown:
>>
>> 57583. N  address=0xb77a87c0 frag=0xb77a87a8 size=888 used=1
>>           alloc'd from mem/shm_mem.c: sh_realloc(86)
>>           start check=f0f0f0f0, end check= c0c0c0c0, abcdefed
>>
>> sh_realloc is only called by shm_resize, which is only called in 
>> modules/tm/t_reply.c. Could somebody please check this?
>>
>> Thanks,
>> Andy
>>
>> _______________________________________________
>> Devel mailing list
>> Devel at openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/devel
>
>
> _________________________________________________________________
> Is your PC infected? Get a FREE online computer virus scan from 
> McAfee® Security. 
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>




More information about the Devel mailing list