also try to increase this in config.h, then recompile:<br>#define PKG_MEM_POOL_SIZE 1024*1024<br><br>set it to 2*1024*1024 for testing<br><br><div class="gmail_quote">2011/1/24 Denis Putyato <span dir="ltr"><<a href="mailto:denis7979@mail.ru">denis7979@mail.ru</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div link="blue" vlink="purple" lang="RU"><div><p class="MsoNormal"><span lang="EN-US">Hello!</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">I have such error messages in syslog while using 1.6.4</span></p><p class="MsoNormal"><span lang="EN-US"> </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</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</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</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</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">After restart Opensips everything is OK but only during some time.</span></p><p class="MsoNormal"><span lang="EN-US"> </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.</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">I have such module loading:</span></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "db_mysql.so"</span></p><p class="MsoNormal"><span lang="EN-US">loadmodule "sl.so"</span></p><p class="MsoNormal"><span lang="EN-US">loadmodule "tm.so"</span></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "signaling.so"</span></p><p class="MsoNormal"><span lang="EN-US">loadmodule "auth.so"</span></p><p class="MsoNormal"><span lang="EN-US">loadmodule "rr.so"</span></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "maxfwd.so"</span></p><p class="MsoNormal"><span lang="EN-US">loadmodule "textops.so"</span></p><p class="MsoNormal"><span lang="EN-US">loadmodule "mi_fifo.so"</span></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "uri.so"</span></p><p class="MsoNormal"><span lang="EN-US">loadmodule "domain.so"</span></p><p class="MsoNormal"><span lang="EN-US">loadmodule "drouting.so"</span></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "siptrace.so"</span></p><p class="MsoNormal"><span lang="EN-US">loadmodule "avpops.so"</span></p><p class="MsoNormal"><span lang="EN-US">loadmodule "dialplan.so"</span></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "dialog.so"</span></p><p class="MsoNormal"><span lang="EN-US">loadmodule "permissions.so"</span></p><p class="MsoNormal"><span lang="EN-US">loadmodule "usrloc.so"</span></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "registrar.so"</span></p><p class="MsoNormal"><span lang="EN-US">loadmodule "alias_db.so"</span></p><p class="MsoNormal"><span lang="EN-US">loadmodule "auth_db.so"</span></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "nathelper.so"</span></p><p class="MsoNormal"><span lang="EN-US">loadmodule "acc.so"</span></p><p class="MsoNormal"><span lang="EN-US">loadmodule "uac.so"</span></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "aaa_radius.so"</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">For accounting I use cdr_flag feature.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </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. </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Thank you for any help</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">
</div>