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

Mohit Sachan mohitsachan762 at gmail.com
Tue Dec 4 00:30:40 EST 2018


plz tell me how to configure opensips for cluster replication (usrloc or
dialog)

On Mon, Dec 3, 2018 at 1:00 PM vasilevalex <alexei.vasilyev at gmail.com>
wrote:

> 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
>
> _______________________________________________
> 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/20181204/12689f46/attachment.html>


More information about the Users mailing list