[Kamailio-Users] Help!! Getting get_hdr_field: out of memory

Daniel-Constantin Mierla miconda at gmail.com
Wed Dec 31 13:33:55 CET 2008


Hello,

have you recompiled/reinstalled openser with -DDBG_QM_MALLOC?

The log does not show it. There should be messages like:

alloc'd from file.c: function(line)

Cheers,
Daniel



On 12/31/08 13:55, Krunal Patel wrote:
> Hi,
>
> I have captured memory dump using kill -SIGUSR1 OPENSER-PID.
> Here is the link for the dump.
> http://pastebin.com/m1e8fcd01
>
> As well as I have stopped openser & captured memory Dump.
> Here is the link for the same.
> http://pastebin.com/m2edde70
>
> Would you please help me to interpret the logs & find out whether 
> memory leak does exist or not?
>
> Thanks in advance!!
>
> --
> Krunal Patel
>
>
> On Sun, Dec 28, 2008 at 3:06 PM, Daniel-Constantin Mierla 
> <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>
>     Hello,
>
>
>     On 12/23/08 16:20, Krunal Patel wrote:
>
>         Hi,
>
>         I am using openser 1.2.3.
>
>     1.2.3 is rather old. Can you update to a newer version? kamailio
>     1.4.3 for example...
>
>         I have increased PKG_MEM_POOL_SIZE to 4MB.
>         Openser worked properly for 4 days since last restart.
>         I found get_hdr_field: out of memory for all messages.
>
>     This might be a side effect, the leak can be in other parts.
>     Please follow the guidelines described here:
>     http://www.kamailio.org/dokuwiki/doku.php/troubleshooting:memory
>
>     Grab the log messages and put them somewhere to download, if they
>     are too big. The log will help to identify where the issue is.
>
>     Note that out of memory messages can occur due to heavy traffic,
>     with no leak there -- case when increasing the private memory size
>     is the solution.
>
>     Happy holidays!
>     Daniel
>
>
>         I did openser restart & the issue is fixed now.
>
>         Is anybody there who have faced the same issue?
>
>         Thanks in advance!!
>
>         --
>         Krunal patel
>
>         ------------------------------------------------------------------------
>
>         _______________________________________________
>         Users mailing list
>         Users at lists.kamailio.org <mailto:Users at lists.kamailio.org>
>         http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>          
>
>
>     -- 
>     Daniel-Constantin Mierla
>     http://www.asipto.com
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>   

-- 
Daniel-Constantin Mierla
http://www.asipto.com





More information about the Users mailing list