<div dir="ltr">What memory management and allocator are you using?<div><br></div><div>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.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 9 Nov 2023 at 12:33, Alexander Kogan <<a href="mailto:akogan@5gfuture.com">akogan@5gfuture.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
of course I did. It doesn't help.<br>
<br>
Best regards,<br>
Alexander Kogan,<br>
Director of R&D<br>
5g Future<br>
<a href="http://5gfuture.com" rel="noreferrer" target="_blank">http://5gfuture.com</a><br>
<br>
<br>
On 09.11.2023 16:03, Marcin Groszek wrote:<br>
> You may try adding more pgk memory in<br>
><br>
> /etc/sysconfig/opensips i.e.<br>
><br>
> P_MEMORY=256<br>
><br>
><br>
> On 11/9/2023 5:07 AM, Alexander Kogan wrote:<br>
>> Hello all,<br>
>><br>
>> I regularly get a memory error after upgrading to 3.2.14 and 3.2.15 <br>
>> builds.<br>
>><br>
>> Nov 9 11:53:02 FI173 /usr/sbin/opensips[3243]: <br>
>> WARNING:core:fm_malloc: not enough contiguous free pkg memory <br>
>> (317724640 bytes left, need 33832), attempting defragmentation... <br>
>> please increase the "-M" command line parameter!<br>
>> Nov 9 11:53:02 FI173 /usr/sbin/opensips[3243]: ERROR:core:fm_malloc: <br>
>> not enough free pkg memory (317724640 bytes left, need 33832), please <br>
>> increase the "-M" command line parameter!<br>
>> Nov 9 11:53:02 FI173 /usr/sbin/opensips[3243]: <br>
>> ERROR:core:receive_msg: no pkg mem left for sip_msg<br>
>><br>
>> Surprisingly, it happens only with one or two UDP workers of 15 or <br>
>> more. I've already created issue <br>
>> <a href="https://github.com/OpenSIPS/opensips/issues/3235" rel="noreferrer" target="_blank">https://github.com/OpenSIPS/opensips/issues/3235</a> and I'm waiting for it.<br>
>><br>
>> Meanwhile, I'm looking for a way of restarting particular opensips <br>
>> process. Is it possible?<br>
>><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>