[OpenSER-Users] Re: [Users] out of memory - please help

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Jun 21 15:32:08 CEST 2007


Hi George,

I made a fix related to subst_user() - could you  apply it and give it a 
try?

Thanks and regards,
Bogdan

Papadopoulos Georgios wrote:
> Hi Bogdan,
>
> I am using all of the functions that you mentioned. I am also using
> subst(). Please, let me know if you need more info.
>
> best regards
>
> George
>  
>
>   
>> -----Original Message-----
>> From: Bogdan-Andrei Iancu [mailto:bogdan at voice-system.ro] 
>> Sent: Thursday, June 21, 2007 1:46 PM
>> To: Papadopoulos Georgios
>> Cc: users at openser.org
>> Subject: Re: [Users] out of memory - please help
>>
>> Hi George,
>>
>> looking over the log, it might be something wrong with 
>> subst_str() function - I see a lot of memory allocated by 
>> this function (3267 mem chunks).
>>
>> now, I have to trace the function using the subst_str() 
>> function :)..So, are you using from script one of the 
>> following functions:
>>     subst_uri()
>>     subst_user()
>>     avp_subst()
>>
>> regards,
>> bogdan
>>
>> Papadopoulos Georgios wrote:
>>     
>>> Hello all,
>>>  
>>> We have an ongoing issue with Openser running out of memory after a 
>>> few hours. It is very consistent which makes me believe it 
>>>       
>> is a memory 
>>     
>>> leak. Can someone look at the log file? I have done a mem dump on 
>>> process 8573 which is the one that ran out of memory. Here 
>>>       
>> is the log:
>>     
>>> _http://www.real.gr/files/openser.20070620.log.gz_
>>> It always happens on the first receiver child. Our current 
>>>       
>> solution is 
>>     
>>> to restart Openser every few hours. I would like to solve 
>>>       
>> this at its 
>>     
>>> root, so please let me know if you need more info.
>>> My Openser is 1.2.x from svn, revision 2333.
>>>  
>>> thank you for any help
>>>  
>>> George
>>>  
>>>  
>>>
>>>
>>>   Disclaimer
>>>
>>> The information in this e-mail and any attachments is 
>>>       
>> confidential. It 
>>     
>>> is intended solely for the attention and use of the named 
>>> addressee(s). If you are not the intended recipient, or person 
>>> responsible for delivering this information to the intended 
>>>       
>> recipient, 
>>     
>>> please notify the sender immediately. Unless you are the intended 
>>> recipient or his/her representative you are not authorized to, and 
>>> must not, read, copy, distribute, use or retain this message or any 
>>> part of it. E-mail transmission cannot be guaranteed to be 
>>>       
>> secure or 
>>     
>>> error-free as information could be intercepted, corrupted, lost, 
>>> destroyed, arrive late or incomplete, or contain viruses.
>>>
>>>
>>>       
>> ----------------------------------------------------------------------
>>     
>>> --
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at openser.org
>>> http://openser.org/cgi-bin/mailman/listinfo/users
>>>   
>>>       
>>     
>
>   

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: subst_mem_leak.diff
Url: http://lists.kamailio.org/pipermail/users/attachments/20070621/de650e12/attachment.txt 


More information about the Users mailing list