[OpenSIPS-Users] Opensips taking a lot of private memoy with drouting/mongodb
ryan embgrets
rembgrets at gmail.com
Tue Aug 31 10:33:11 EST 2021
Greetings,
I am using opensips version: opensips 3.1.3 (x86_64/linux) with drouting
module on the top of mongodb.
I see my opensips dr_reload getting failed with below error.
Aug 31 10:20:57 opensips /usr/sbin/opensips[32163]: WARNING:core:fm_malloc:
not enough continuous free pkg memory (20047472 bytes left, need 22020096),
attempting defragmentation... please increase the "-M" command line
parameter!
Aug 31 10:20:57 opensips /usr/sbin/opensips[32163]: ERROR:core:fm_malloc:
not enough free pkg memory (20047472 bytes left, need 22020096), please
increase the "-M" command line parameter!
Aug 31 10:20:57 opensips /usr/sbin/opensips[32163]:
ERROR:core:db_realloc_rows: no memory left
Aug 31 10:20:57 opensips /usr/sbin/opensips[32163]:
ERROR:cachedb_mongodb:mongo_db_query_trans: failed to realloc rows
Aug 31 10:20:57 opensips /usr/sbin/opensips[32163]:
ERROR:drouting:dr_load_routing_info: DB query failed
There are just 50k Recods inside the drouting table and i have specified -M
50MB for the opensips with 8 children.
Why opensips is complaining about private memory? should not be the
drouting records into shared memory ?
I have another setup on mysql where i have more than 0.5M records and
opensips runs fine with 16MB private memory.
Any pointer what might be causing this is appreciated.
Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20210831/bdac4a81/attachment.html>
More information about the Users
mailing list