Hi Ovidiu,

I tried enabling memory manager debug but doing so causes it to somewhat
crash (no error logs but opensips stops running) with just a single call.
Here is the link to download the logs i fetched with memory manager debug
enabled if this would help:
http://www.2shared.com/file/npidL9pz/opensips.html

Thanks!

Regards,
Ronald

On Fri, Dec 17, 2010 at 1:56 AM, Ovidiu Sas <[email protected]> wrote:

> Here's how to investigate/debug memory issues:
> http://www.opensips.org/Resources/DocsTsMem
>
> Regards,
> Ovidiu Sas
>
> On Thu, Dec 16, 2010 at 12:44 PM, Ronald Cepres <[email protected]>
> wrote:
> > 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!
> > _______________________________________________
> > Users mailing list
> > [email protected]
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> >
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to