[OpenSIPS-Users] memory trouble on 1.6.4

Denis Putyato denis7979 at mail.ru
Mon Jan 24 13:24:33 CET 2011


Hello!

 

I have such error messages in syslog while using 1.6.4

 

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

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

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

Jan 24 09:40:04 opensips /usr/local/opensips1.6.4/sbin/opensips[10176]: ERROR:core:db_allocate_columns: no private memory left

 

After restart Opensips everything is OK but only during some time.

 

I increase shm memory from 32M to 256M in config.h, but it didn`t help.

 

I have such module loading:

loadmodule "db_mysql.so"

loadmodule "sl.so"

loadmodule "tm.so"

loadmodule "signaling.so"

loadmodule "auth.so"

loadmodule "rr.so"

loadmodule "maxfwd.so"

loadmodule "textops.so"

loadmodule "mi_fifo.so"

loadmodule "uri.so"

loadmodule "domain.so"

loadmodule "drouting.so"

loadmodule "siptrace.so"

loadmodule "avpops.so"

loadmodule "dialplan.so"

loadmodule "dialog.so"

loadmodule "permissions.so"

loadmodule "usrloc.so"

loadmodule "registrar.so"

loadmodule "alias_db.so"

loadmodule "auth_db.so"

loadmodule "nathelper.so"

loadmodule "acc.so"

loadmodule "uac.so"

loadmodule "aaa_radius.so"

 

For accounting I use cdr_flag feature.

 

During call process Opensips makes about 4 SQL queries to db and receives from it some account parameters which stores to AVP. 

 

Thank you for any help

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110124/b20ab8a9/attachment.htm>


More information about the Users mailing list