<div>Hi to all,</div><div><br></div><div>If I run OpenSIPS (1.6.3 ) for a long time while calls are coming in, it suddenly stops with the following sample logs:</div><div><br></div><div>Dec 16 12:26:43 [12114] ERROR:core:new_avp: no more shm mem</div>
<div>Dec 16 12:26:43 [12114] ERROR:core:add_avp: Failed to create new avp structure</div><div>Dec 16 12:26:43 [12114] ERROR:avpops:db_query_avp: unable to add avp</div><div>Dec 16 12:26:43 [12103] ERROR:core:new_avp: no more shm mem</div>
<div>Dec 16 12:26:43 [12103] ERROR:core:add_avp: Failed to create new avp structure</div><div>Dec 16 12:26:43 [12103] ERROR:avpops:db_query_avp: unable to add avp</div><div>Dec 16 12:26:43 [12106] WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation</div>
<div>Dec 16 12:26:43 [12106] WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation</div><div>Dec 16 12:26:43 [12106] ERROR:dialog:dlg_add_leg_info: no more shm mem</div><div>Dec 16 12:26:43 [12106] ERROR:dialog:init_leg_info: dlg_add_leg_info failed</div>
<div>Dec 16 12:26:43 [12106] ERROR:dialog:push_reply_in_dialog: could not add further info to the dialog</div><div>Dec 16 12:26:43 [12105] WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation</div><div>
Dec 16 12:26:43 [12105] ERROR:core:new_avp: no more shm mem</div><div>Dec 16 12:26:43 [12105] ERROR:core:add_avp: Failed to create new avp structure</div><div>Dec 16 12:26:43 [12102] WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation</div>
<div>Dec 16 12:26:43 [12105] ERROR:avpops:db_query_avp: unable to add avp</div><div>Dec 16 12:26:43 [12102] ERROR:dialog:build_new_dlg: no more shm mem (277)</div><div>Dec 16 12:26:43 [12105] WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation</div>
<div>Dec 16 12:26:43 [12105] ERROR:tm:new_t: out of mem</div><div>Dec 16 12:26:43 [12105] ERROR:tm:t_newtran: new_t failed</div><div>Dec 16 12:26:43 [12117] WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation</div>
<div>Dec 16 12:26:43 [12102] ERROR:dialog:dlg_create_dialog: failed to create new dialog</div><div>Dec 16 12:26:43 [12102] ERROR:dialog:set_dlg_profile: dialog was not yet created - script error</div><div>Dec 16 12:26:43 [12102] ERROR:dialog:w_set_dlg_profile: failed to set profile</div>
<div><br></div><div>Is there a way that memory leak would happen from a mis-configured routing script? If so, how do I trace the part of the routing script that causes the leak?</div><div><br></div><div>Thanks!</div>