<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div><div>Hello,</div><div><br></div><div>Everything is running along just fine for weeks on 1.6.4, and then&nbsp;<i>bam</i>, this shows up in the logs:</div><div><br></div><div><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><div>/usr/sbin/opensips[12290]: WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation</div><div>/usr/sbin/opensips[12290]: ERROR:tm:insert_tmcb: no more shared memory</div><div>/usr/sbin/opensips[12290]: ERROR:uac:replace_uri: failed to install TM callback</div><div>/usr/sbin/opensips[12284]: WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation</div><div>/usr/sbin/opensips[12284]: ERROR:core:new_avp: no more shm mem</div><div>/usr/sbin/opensips[12284]: ERROR:core:add_avp: Failed to create new avp structure</div><div>/usr/sbin/opensips[12306]: WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation</div><div>/usr/sbin/opensips[12306]: ERROR:tm:new_t: out of mem</div><div>/usr/sbin/opensips[12302]: WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation</div><div>/usr/sbin/opensips[12302]: ERROR:tm:relay_reply: no more share memory</div><div>/usr/sbin/opensips[12284]: WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation</div><div>/usr/sbin/opensips[12294]: WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation</div><div>/usr/sbin/opensips[12284]: ERROR:core:new_avp: no more shm mem</div><div>/usr/sbin/opensips[12284]: ERROR:core:add_avp: Failed to create new avp structure</div><div>/usr/sbin/opensips[12306]: ERROR:tm:t_newtran: new_t failed</div><div>/usr/sbin/opensips[12294]: ERROR:tm:relay_reply: no more share memory</div></blockquote></div><div><br></div><div>Hundreds of lines like it. &nbsp;This is just a sample. &nbsp;But, it did not crash. &nbsp;I have shared memory set to 32M. &nbsp;Normally I run less than 8M used. &nbsp;After this event the&nbsp;max_used_size was at 32M, but the real_used_size was around 24M. &nbsp;And it wasn't changing. &nbsp;Strange.</div><div><br></div><div>My first thought was a DoS attack but a pcap I took right after looked normal.</div><div><br></div><div>Normally this proxy runs anywhere from 70-150 transactions in progress at any given moment. &nbsp;After this event, it was stuck at right around 1300. &nbsp;Things seemed to be processing; no symptoms on outbound calls. &nbsp;Very strange.</div><div><br></div><div>I restarted Opensips and everything seems normal.</div><div><br></div><div>I'm not sure where to begin on this one. &nbsp;I'm not sure if the shared memory problem was a symptom or a cause. &nbsp;In the few years I've been working with Opensips I've never seen anything like this. &nbsp;Any direction from the list would be great.</div><div><br></div><div><br></div><div>- Jeff</div></div></body></html>