<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:2.0cm 42.5pt 2.0cm 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=RU link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Hello!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I have such error messages in syslog while using 1.6.4<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Jan 24 09:40:04 opensips /usr/local/opensips1.6.4/sbin/opensips[10176]: WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Jan 24 09:40:04 opensips /usr/local/opensips1.6.4/sbin/opensips[10176]: ERROR:core:build_res_buf_from_sip_req: out of pkg memory ; needs 477<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Jan 24 09:40:04 opensips /usr/local/opensips1.6.4/sbin/opensips[10176]: WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Jan 24 09:40:04 opensips /usr/local/opensips1.6.4/sbin/opensips[10176]: ERROR:core:db_allocate_columns: no private memory left<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>After restart Opensips everything is OK but only during some time.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I increase shm memory from 32M to 256M in config.h, but it didn`t help.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I have such module loading:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "db_mysql.so"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "sl.so"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "tm.so"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "signaling.so"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "auth.so"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "rr.so"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "maxfwd.so"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "textops.so"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "mi_fifo.so"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "uri.so"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "domain.so"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "drouting.so"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "siptrace.so"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "avpops.so"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "dialplan.so"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "dialog.so"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "permissions.so"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "usrloc.so"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "registrar.so"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "alias_db.so"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "auth_db.so"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "nathelper.so"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "acc.so"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "uac.so"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>loadmodule "aaa_radius.so"</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>For accounting I use cdr_flag feature.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>During call process Opensips makes about 4 SQL queries to db and receives from it some account parameters which stores to AVP. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Thank you for any help<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></body></html>