[OpenSIPS-Users] Not enough free pkg memory

Alexander Kogan akogan at 5gfuture.com
Thu Nov 9 14:32:35 UTC 2023


I've tried all of them - Q, F, and HP with the same result.

Best regards,
Alexander Kogan,
Director of R&D
5g Future
http://5gfuture.com


On 09.11.2023 18:24, solarmon wrote:
> What memory management and allocator are you using?
>
> I had similar issues using opensips 3.2.7 and the quick workaround was 
> to change from F_MALLOC to HP_MALLOC. But I thought there should have 
> been fixes for such issues in newer versions, so your issue might be 
> different.
>
> On Thu, 9 Nov 2023 at 12:33, Alexander Kogan <akogan at 5gfuture.com> wrote:
>
>     Hi,
>
>     of course I did. It doesn't help.
>
>     Best regards,
>     Alexander Kogan,
>     Director of R&D
>     5g Future
>     http://5gfuture.com
>
>
>     On 09.11.2023 16:03, Marcin Groszek wrote:
>     > You may try adding more pgk memory in
>     >
>     > /etc/sysconfig/opensips i.e.
>     >
>     > P_MEMORY=256
>     >
>     >
>     > On 11/9/2023 5:07 AM, Alexander Kogan wrote:
>     >> Hello all,
>     >>
>     >> I regularly get a memory error after upgrading to 3.2.14 and
>     3.2.15
>     >> builds.
>     >>
>     >> Nov  9 11:53:02 FI173 /usr/sbin/opensips[3243]:
>     >> WARNING:core:fm_malloc: not enough contiguous free pkg memory
>     >> (317724640 bytes left, need 33832), attempting defragmentation...
>     >> please increase the "-M" command line parameter!
>     >> Nov  9 11:53:02 FI173 /usr/sbin/opensips[3243]:
>     ERROR:core:fm_malloc:
>     >> not enough free pkg memory (317724640 bytes left, need 33832),
>     please
>     >> increase the "-M" command line parameter!
>     >> Nov  9 11:53:02 FI173 /usr/sbin/opensips[3243]:
>     >> ERROR:core:receive_msg: no pkg mem left for sip_msg
>     >>
>     >> Surprisingly, it happens only with one or two UDP workers of 15 or
>     >> more. I've already created issue
>     >> https://github.com/OpenSIPS/opensips/issues/3235 and I'm
>     waiting for it.
>     >>
>     >> Meanwhile, I'm looking for a way of restarting particular opensips
>     >> process. Is it possible?
>     >>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________
> 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/20231109/8855ca40/attachment.html>


More information about the Users mailing list