[SR-Users] Memory issue

Daniel-Constantin Mierla miconda at gmail.com
Mon Mar 24 10:26:13 CET 2014


Hello,

can you get the output of:

kamcmd pkg.stats

?

Also, if you have big config, work with database queries in config file, 
consider setting more private memory with -M paramter. -m is only of 
share memory:

OPTIONS="-P /var/run/$prog.pid -m 256 -M 12"

Cheers,
Daniel


On 24/03/14 10:23, Igor Potjevlesch wrote:
>
> Hello,
>
> After couple of weeks without issue, my Kamailio 4.0 has begun to 
> reject calls this week-end.
>
> The first error : ERROR: <core> [msg_translator.c:2012]: 
> build_res_buf_from_sip_res(): ERROR: build_res_buf_from_sip_res: out 
> of mem.
>
> OR
>
> ERROR: <core> [msg_translator.c:2012]: build_res_buf_from_sip_res(): 
> ERROR: build_res_buf_from_sip_res: out of mem
>
> Followed by
>
> ERROR: <core> [forward.c:812]: do_forward_reply(): ERROR: 
> forward_reply: building failed
>
> And sometimes, at the end of the line there is a “needs” in addition:
>
> ERROR: <core> [msg_translator.c:2164]: build_res_buf_from_sip_req(): 
> ERROR: build_res_buf_from_sip_req: out of memory  ; needs 469.
>
> The starting options are: OPTIONS="-P /var/run/$prog.pid -m 256".
>
> Regards,
>
> Igor.
>
>
>
> _______________________________________________
> 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://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference - April 2-4, 2014, Berlin, Germany
http://www.kamailioworld.com

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


More information about the sr-users mailing list