[OpenSIPS-Users] when DBG_MALLOC is checked it leads to “not enough free pkg memory”
Marco Hierl
marco.hierl at next-id.de
Thu Dec 14 08:03:42 EST 2017
Dear all,
I try to follow „https://www.opensips.org/Documentation/TroubleShooting-OutOfMem “, but when DBG_MALLOC is checked, I got “not enough free pkg memory” when starting OpenSIPS
Dec 14 12:53:39 sbc-welt-hh1 opensips[30378]: Dec 14 12:53:39 [30378] ERROR:core:qm_malloc: not enough free pkg memory (0 bytes left, need 200), please increase the "-M" command line parameter!
Dec 14 12:53:39 sbc-welt-hh1 opensips[30378]: Dec 14 12:53:39 [30378] CRITICAL:core:mk_action: pkg memory allocation failure
I increased P_MEMORY=128 in /etc/default/opensips, but it did not help.
If I uncheck DBG_MALLOC it’s starting fine.
I’m using debian 9.3 and
version: opensips 2.3.2 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, QM_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
git revision: 2ae87c644
main.c compiled on 12:52:27 Dec 14 2017 with gcc 6.3.0
thanks and best regards
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20171214/6e6f1014/attachment.html>
More information about the Users
mailing list