[OpenSIPS-Users] OpenSIPS crashed after "out of pkg memory"
Bogdan-Andrei Iancu
bogdan at opensips.org
Tue Oct 7 10:41:45 CEST 2014
Hello all,
Just for the sake of completion, the memory leak was identified and
fixed by Liviu . See:
https://github.com/OpenSIPS/opensips/commit/e5ccde131eb72debd9aa400ced2e1e31bd61612d
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 10.09.2014 11:02, Bogdan-Andrei Iancu wrote:
> Hi Kevin,
>
> First just checking if:
> - the "out of mem" was reported for pkg memory (and not for shm)
> - you sent the SIGUSR1 signal to the process complaining about
> lack of mem
>
> IF you look at the dump:
> used= 1630504, used+overhead=4188560, free=5744
> but there are only 64 fragments with avg len < 100, so not more than
> 100K or so.... it is a bit strange. I remember some fixes in that area
> (where the stats for available mem were kept) - what exact version of
> OpenSIPS are you using ?
>
> Thanks and regards,
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
> On 09.09.2014 15:56, Kevin Mathy wrote:
>> Hi Bogdan,
>>
>> I've got now a memdump !
>> https://www.dropbox.com/s/5hb678r0ym9vtt1/memdump1.txt?dl=0
>>
>> And if you need the list of the opensips processes running at the
>> moment :
>> https://www.dropbox.com/s/hqurr3ilamc0a0g/opensips_processes_list.txt?dl=0
>>
>> I hope it'll be ok... If you need more things, I didn't have
>> restarted the service yet, so I'm able to get other memdumps.
>>
>> Thanks for your help,
>>
>> Kevin
>>
>>
>> *
>> Bien cordialement,
>> Best Regards,
>>
>> **Kevin MATHY* |**Ingénieur VoIP
>> *
>> *
>>
>> 2014-09-09 13:06 GMT+02:00 Bogdan-Andrei Iancu <bogdan at opensips.org
>> <mailto:bogdan at opensips.org>>:
>>
>> Hi Kevin,
>>
>> yes, that's the right way of getting a mem dump during runtime.
>> Also you will automatically get one during the shutdown procedure.
>>
>> Best regards,
>>
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developer
>> http://www.opensips-solutions.com
>>
>>
>>
>>
>
>
>
> _______________________________________________
> 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/20141007/eeb54b08/attachment.htm>
More information about the Users
mailing list