[OpenSIPS-Users] Not enough free memory

Ronald Cepres rbcepres at gmail.com
Thu Dec 16 18:44:12 CET 2010


Hi to all,

If I run OpenSIPS (1.6.3 ) for a long time while calls are coming in, it
suddenly stops with the following sample logs:

Dec 16 12:26:43 [12114] ERROR:core:new_avp: no more shm mem
Dec 16 12:26:43 [12114] ERROR:core:add_avp: Failed to create new avp
structure
Dec 16 12:26:43 [12114] ERROR:avpops:db_query_avp: unable to add avp
Dec 16 12:26:43 [12103] ERROR:core:new_avp: no more shm mem
Dec 16 12:26:43 [12103] ERROR:core:add_avp: Failed to create new avp
structure
Dec 16 12:26:43 [12103] ERROR:avpops:db_query_avp: unable to add avp
Dec 16 12:26:43 [12106] WARNING:core:fm_malloc: Not enough free memory, will
atempt defragmenation
Dec 16 12:26:43 [12106] WARNING:core:fm_malloc: Not enough free memory, will
atempt defragmenation
Dec 16 12:26:43 [12106] ERROR:dialog:dlg_add_leg_info: no more shm mem
Dec 16 12:26:43 [12106] ERROR:dialog:init_leg_info: dlg_add_leg_info failed
Dec 16 12:26:43 [12106] ERROR:dialog:push_reply_in_dialog: could not add
further info to the dialog
Dec 16 12:26:43 [12105] WARNING:core:fm_malloc: Not enough free memory, will
atempt defragmenation
Dec 16 12:26:43 [12105] ERROR:core:new_avp: no more shm mem
Dec 16 12:26:43 [12105] ERROR:core:add_avp: Failed to create new avp
structure
Dec 16 12:26:43 [12102] WARNING:core:fm_malloc: Not enough free memory, will
atempt defragmenation
Dec 16 12:26:43 [12105] ERROR:avpops:db_query_avp: unable to add avp
Dec 16 12:26:43 [12102] ERROR:dialog:build_new_dlg: no more shm mem (277)
Dec 16 12:26:43 [12105] WARNING:core:fm_malloc: Not enough free memory, will
atempt defragmenation
Dec 16 12:26:43 [12105] ERROR:tm:new_t: out of mem
Dec 16 12:26:43 [12105] ERROR:tm:t_newtran: new_t failed
Dec 16 12:26:43 [12117] WARNING:core:fm_malloc: Not enough free memory, will
atempt defragmenation
Dec 16 12:26:43 [12102] ERROR:dialog:dlg_create_dialog: failed to create new
dialog
Dec 16 12:26:43 [12102] ERROR:dialog:set_dlg_profile: dialog was not yet
created - script error
Dec 16 12:26:43 [12102] ERROR:dialog:w_set_dlg_profile: failed to set
profile

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?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20101217/57d79eee/attachment-0001.htm>


More information about the Users mailing list