<div dir="ltr">Also i noticed that if i run manually it starts without error<div><br></div><div>/usr/sbin/kamailio -P /var/run/kamailio.pid -m 125 -M 32 -u kamailio -g kamailio<br></div><div><br></div><div>Is there any specific file i need to modify to set these memory values?</div><div><br></div><div>I am using CentOS 6</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 23, 2016 at 6:54 PM, Linux Vince <span dir="ltr"><<a href="mailto:linuxv@gmail.com" target="_blank">linuxv@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am getting below error when i start kamailio<div><br></div><div><div>Not starting : invalid configuration file!</div><div><br></div><div> 0(2360) ERROR: <core> [mem/f_malloc.c:415]: fm_search_defrag(): fm_search_defrag(<wbr>0x7f732c5ff010, 232); Free fragment not found!</div><div> 0(2360) ERROR: <core> [mem/f_malloc.c:498]: fm_malloc(): fm_malloc(0x7f732c5ff010, 232) called from core: route_struct.c: mk_action(118), module: core; Free fragment not found!</div><div> 0(2360) CRITICAL: <core> [route_struct.c:137]: mk_action(): memory allocation failure</div><div> 0(2360) ERROR: <core> [mem/f_malloc.c:415]: fm_search_defrag(): fm_search_defrag(<wbr>0x7f732c5ff010, 40); Free fragment not found!</div><div> 0(2360) ERROR: <core> [mem/f_malloc.c:498]: fm_malloc(): fm_malloc(0x7f732c5ff010, 40) called from core: cfg.y: yyparse(2636), module: core; Free fragment not found!</div><div> 0(2360) : <core> [cfg.y:3368]: yyerror_at(): parse error in config file /etc/kamailio/proxy.cfg, line 5372, column 3-28: Not enough memory</div><div>ERROR: bad config file (1 errors)</div></div><div><br></div><div><br></div><div>I tried increasing SHM_MEMORY and PKG_MEMORY under /etc/default/kamailio</div><div><br></div><div>I doubled memory but still getting same error.</div><div><br></div><div>Is there any other place i should look at ?</div></div>
</blockquote></div><br></div>