<div dir="ltr"><div>OpenSIPs is using the contents of the RURI for the contact header in the response. <br></div><div><br></div><div>I seem to recall this working in 2.2 as well:</div><div><br></div><div>$ru = "";</div><div>append_to_reply( "<sip:" + $rU + "@" + $si + ":" + $sp + ";npdi+">");</div><div><br></div><div>If you set the package and/or shared memory larger you can delay the fragmentation. In my scenario we were using the userblacklist feature and updating several large lists multiple times an hour. This was triggering the problem eventually. <br></div><div>You may never run into it with the caching depending on the volume and allocation patterns. But if you start having response time spikes after a long uptime, check the logs for memory related messages.</div><div><br></div><div>- Jon Abrams<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 6, 2020 at 5:57 PM Calvin Ellison <<a href="mailto:calvin.ellison@voxox.com">calvin.ellison@voxox.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"><div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 6, 2020 at 2:56 PM Jon Abrams <<a href="mailto:ffshoh@gmail.com" target="_blank">ffshoh@gmail.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"><div dir="ltr"><div>Async does indeed trigger the transaction creation. You may need to update the $ru variable and not use the append_to_reply. Or at least that's how I solved this in the past.</div></div></blockquote><div><br></div><div>What's the connection between the request's URI and a reply's Contact? I saw $ru mentioned regarding a similar issue back in 2009 but didn't understand how it solves the problem.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I would caution somewhat about using the caching (and possibly the async), as memory fragmentation may become a problem after sustained usage.</div></blockquote><div><br></div><div>Is there any guidance available for how to deal with this? Is this addressed via opensips things like hash size or linux things like shared memory configuration?</div></div></div>
_______________________________________________<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>