[OpenSIPS-Users] memory trouble on 1.6.4
Laszlo
laszlo at voipfreak.net
Mon Jan 24 14:06:38 CET 2011
also try to increase this in config.h, then recompile:
#define PKG_MEM_POOL_SIZE 1024*1024
set it to 2*1024*1024 for testing
2011/1/24 Denis Putyato <denis7979 at mail.ru>
> 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
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110124/1bab8f2e/attachment.htm>
More information about the Users
mailing list