[SR-Users] out of memory Error

Daniel-Constantin Mierla miconda at gmail.com
Tue Sep 29 08:39:41 CEST 2015


Hello,

there are no logs.

You should have followed my suggestions, because mem_summary=15 is
printing a lot of other unnecessary log messages. It is better to use
mem_summary=8 to get a smaller log. Also, the children is quite high,
try with children=2 -- the out of memory should appear sooner.

Also, use -M 8 in order to reduce the time to using all memory.

Cheers,
Daniel

On 29/09/15 08:30, ycaner wrote:
> Hello Daniel;
>
> First of all , Thanks for reply.This project deserve a big award
> because of you. you try to give response any question as you can. i
> hope with my test results help you to make it bigger this project.
>
> Before you reply i set memlog=0 , debug=0 and mem_summary=15 ,
> children 64 ,"SHM_MEMORY=256" , "PKG_MEMORY=32" .i added to results.
> i dont know how to analyse results but i think the problem is "acc:
> acc_extra.c: extra2strar(265)". it increases bytes.
>
>
> Thanks.
>
>
> 29.09.2015 00:31 tarihinde Daniel-Constantin Mierla-6 [via SIP Router]
> yazdı:
>> The free size for private memory/pkg is getting low.
>>
>> Set in kamailio.cfg:
>>
>> memlog=1
>> mem_summary=8
>>
>> Be sure that debug parameter is at least 1.
>>
>> Restart kamailio and run the test again. When you get out of memory,
>> stop kamailio (e.g., using: killall kamailio).
>>
>> Look inside syslog file for the messages printed at the end. For each
>> kamailio process, there should be a pkg summary -- messages can be
>> mixed, so you can send all of them
>>
>> To have lower number of process (which will probably result in faster
>> consuming of memory), you can set children=2.
>>
>> Cheers,
>> Daniel
>>
>> On 28/09/15 17:31, ycaner wrote:
>>> {
>>>         entry: 1
>>>         pid: 12039
>>>         rank: 1
>>>         used: 13425600
>>>         free: 148336
>>>         real_used: 33406096
>>>         total_size: 33554432
>>>         total_frags: 20
>>> }
>>
>> -- 
>> Daniel-Constantin Mierla
>> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>> Book: SIP Routing With Kamailio - http://www.asipto.com
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> [hidden email] </user/SendEmail.jtp?type=node&node=141889&i=0>
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>> ------------------------------------------------------------------------
>> If you reply to this email, your message will be added to the
>> discussion below:
>> http://sip-router.1086192.n5.nabble.com/out-of-memory-Error-tp141866p141889.html
>>
>> To unsubscribe from out of memory Error, click here.
>> NAML
>> <http://sip-router.1086192.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
> -- 
> <http://www.netgsm.com.tr>
>
> *kamailio_mem_dump_1.txt* (1M) Download Attachment
> <http://sip-router.1086192.n5.nabble.com/attachment/141893/1/kamailio_mem_dump_1.txt>
>
> ------------------------------------------------------------------------
> View this message in context: Re: out of memory Error
> <http://sip-router.1086192.n5.nabble.com/out-of-memory-Error-tp141866p141893.html>
> Sent from the Users mailing list archive
> <http://sip-router.1086192.n5.nabble.com/Users-f3.html> at Nabble.com.
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
Kamailio Advanced Training, Sep 28-30, 2015, in Berlin - http://asipto.com/u/kat

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150929/410b2599/attachment.html>


More information about the sr-users mailing list