Okay, thank you for helping!
I'll first see if i can catch it just before a crash.

Just a question, can this also be caused by a buggy perl script?

Steven

Op 21 mrt. 2012 om 17:54 heeft "Vlad Paiu" <[email protected]> het volgende 
geschreven:

> Hi,
> 
> Went through the shutdown memory log, and I see no traces of a leak.
> Maybe you are actually using such high values of pkg mem ? Please try to 
> increase the pkg memory, by passing the -M parameter at OpenSIPS startup ( 
> like '-M 4' for 4 Mb of memory per proces, or by editing config.h ( 
> PKG_MEM_SIZE define, needs recompiling & re-installing of OpenSIPS ).
> 
> Regards,
> 
> Vlad Paiu
> OpenSIPS Developer
> http://www.opensips-solutions.com
> 
> 
> On 03/20/2012 02:12 PM, Steven Lam, KeenSystems B.V. wrote:
>> Hi,
>> 
>> Thank you for your reply!
>> I'll try to catch it before OpenSIPS crashes.
>> 
>> Steven
>> 
>>> -----Original Message-----
>>> From: [email protected] [mailto:devel-
>>> [email protected]] On Behalf Of Vlad Paiu
>>> Sent: dinsdag 20 maart 2012 13:00
>>> To: [email protected]
>>> Subject: Re: [OpenSIPS-Devel] Possible memory leak OpenSIPS 1.7.2
>>> 
>>> Hello,
>>> 
>>> Please try to catch this leak at run-time. As soon as a specific process 
>>> starts
>>> complaining about no more pkg memory, get it's PID from syslog and do
>>>      kill -SIGUSR1 PID
>>> 
>>> and you should get the PKG memory dump just for that specific process.
>>> 
>>> Regards,
>>> 
>>> Vlad Paiu
>>> OpenSIPS Developer
>>> http://www.opensips-solutions.com
>>> 
>>> 
>>> On 03/20/2012 10:46 AM, Steven Lam, KeenSystems B.V. wrote:
>>>> Hi,
>>>> 
>>>> Yesterday OpenSIPS crashed after logging things like this:
>>>> 
>>>> WARNING:core:fm_malloc: Not enough free memory, will atempt
>>>> defragmenation
>>>> ERROR:core:build_res_buf_from_sip_req: out of pkg memory  ; needs 394
>>>> ERROR:sl:sl_send_reply_helper: response building failed
>>>> 
>>>> Looking at the graphs for the memory usage I can see the memory
>>>> consumption is only going up, never going down. Sure it went down
>>>> after OpenSIPS crashing ;-)
>>>> 
>>>> I followed this doc to create a memory manager log of OpenSIPS stopping
>>> after some calls:
>>>> http://www.opensips.org/Resources/DocsTsMem
>>>> 
>>>> I now have a log but no idea where to look for, is there someone who
>>> wants to take a look for me?
>>>> The log can be found here: http://keenserver.nl/files/dump.log
>>>> 
>>>> Hope someone can help.
>>>> 
>>>> Thanks,
>>>> Steven
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Devel mailing list
>>>> [email protected]
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>>> _______________________________________________
>>> Devel mailing list
>>> [email protected]
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>> 
>> 
>> _______________________________________________
>> Devel mailing list
>> [email protected]
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
> 
> _______________________________________________
> Devel mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
> 


_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to