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]
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

--

kamailio_mem_dump_1.txt (1M) Download Attachment


View this message in context: Re: out of memory Error
Sent from the Users mailing list archive at Nabble.com.


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@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