[SR-Users] no more pkg mem on ul_dump

marius zbihlei marius.zbihlei at 1and1.ro
Thu Oct 6 13:03:21 CEST 2011


On 10/06/2011 11:52 AM, Klaus Darilion wrote:
> Hi!
>
> Kamailio 1.3.4: "kamctl ul monitor" causes:
>
> ERROR:<core>  [attr.c:80]: no more pkg mem (21)
> ERROR: mi_fifo [fifo_fnc.c:513]: command (ul_dump) processing failed
>
> There are ~ 2000 entries in location table. Default PKG size is used.
>
> I remember there were some similar reports recently, but couldn't find
> the relevant threads.
>

Hello,

You can either increase the PKG size, or (what we do),  uncomment a line 
in sip-router/lib/kmi/Makefile that enables system malloc instead of 
pkg_malloc for fifo commands.

## uncomment next line for using system malloc with MI
#DEFS+= -DMI_SYSTEM_MALLOC

Cheers,
Marius
> Any hints for the cause of this problem and workarounds?
>
> Thanks
> Klaus
>
> _______________________________________________
> 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


-- 
Zbihlei Marius

Head of
Linux Development Services Romania

1&1 Internet Development srl    Tel KA: 754-9512
Str Mircea Eliade 18            Tel RO: +40-31-223-9512
Sect 1, Bucuresti               mailto: marius.zbihlei at 1and1.ro
71295, Romania




More information about the sr-users mailing list