[OpenSIPS-Users] Not enough memory to sync cluster data

vasilevalex alexei.vasilyev at gmail.com
Mon Dec 3 02:27:54 EST 2018


Hi all,

I have simple cluster with full-sharing usrloc. Everything is in memory, no
DB for usrloc.
When starting backup server it syncing usrloc data. So I got errors:

Dec  1 20:15:12 test02 /usr/sbin/opensips[30896]: ERROR:core:fm_malloc: not
enough free pkg memory (30400 bytes left, need 35904), please increase the
"-M" command line parameter!
Dec  1 20:15:12 test02 /usr/sbin/opensips[30896]: INFO:core:fm_malloc:
attempting defragmentation...
Dec  1 20:15:12 test02 /usr/sbin/opensips[30896]: INFO:core:fm_malloc:
unable to alloc a big enough fragment!
Dec  1 20:15:12 test02 /usr/sbin/opensips[30896]: INFO:core:fm_malloc:
unable to alloc a big enough fragment!
Dec  1 20:15:12 test02 /usr/sbin/opensips[30896]: INFO:core:fm_malloc:
attempting defragmentation...
Dec  1 20:15:12 test02 /usr/sbin/opensips[30896]: INFO:core:fm_malloc:
unable to alloc a big enough fragment!
Dec  1 20:15:12 test02 /usr/sbin/opensips[30896]: INFO:core:fm_malloc:
attempting defragmentation...

Start parameters:
/usr/sbin/opensips -m 512 -M 32

And this errors starts with only little bit more than 500 phones.
When cluster in sync, on Backup server I has real_used_size about 11 Mb.

Of course I can increase package memory for example to 64 Mb. But what if I
want not 1000 phones, but 10000 ? May be syncing must use shared memory?
Unfortunately I don't know this process so deep.
Thanks.




--
Sent from: http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html



More information about the Users mailing list