<div dir="ltr"><div>After a good amount of errors reported by opensips about missing via in reply: &quot;ERROR:core:receive_msg: no via found in reply&quot;, opensips runs out of memory:</div><div><br></div><div>Dec 25 13:20:29 /usr/sbin/opensips[11678]: ERROR:core:receive_msg: no via found in reply<br>
Dec 25 13:20:33 /usr/sbin/opensips[11688]: ERROR:core:receive_msg: no via found in reply<br>Dec 25 13:22:37 /usr/sbin/opensips[11683]: ERROR:core:insert_new_lump_after: out of pkg memory<br>Dec 25 13:22:37 /usr/sbin/opensips[11683]: ERROR:tm:print_uac_request: no more shm_mem<br>
Dec 25 13:22:37 /usr/sbin/opensips[11683]: ERROR:tm:t_forward_nonack: failure to add branches<br>Dec 25 13:22:39 /usr/sbin/opensips[11683]: ERROR:core:do_action: memory allocation failure<br>Dec 25 13:22:39 /usr/sbin/opensips[11683]: ERROR:core:pv_set_ruri_host: do action failed</div>
<div><br></div><div>The situation seems to affect both 1.8 (LTS) and 1.10 versions of opensips.</div><div><br></div><div>What should I do to prevent opensips from running out of memory aside from restarting it periodically which is not a good option?</div>
</div>