[OpenSIPS-Users] Latest SVN and Memory issuses

Ron McCarthy ronmccar at gmail.com
Thu Sep 17 23:42:48 CEST 2009


I upgraded to 6147 and still same issue, I also tried making the memory
bigger, same issue.

I do get a core dump, can i debug that somehow?

Thanks

On Thu, Sep 17, 2009 at 4:16 AM, andrei dragus <andreidragus at yahoo.com>wrote:

> There was a memory leak in the dialog module.
>
> If you were using this module then this was probably the cause.
> It was fixed starting with revision 6147.
>
> Please update and try again, and report if you still have issues.
>
> Andrei.
>
> --- On Wed, 9/16/09, Brett Nemeroff <brett at nemeroff.com> wrote:
>
>
> > Look in config.h for:#define
> > PKG_MEM_POOL_SIZE 1024*1024
> > and try changing that to:#define
> > PKG_MEM_POOL_SIZE 1024*1024*2
> >
> > On Wed, Sep 16, 2009 at 5:34 PM,
> > Ron McCarthy <ronmccar at gmail.com>
> > wrote:
> >
> >
> > Hi List,
> >
> > I just upgraded to the latest SVN relase and after a few
> > thousand calls I start getting:
> >
> > Sep 16 15:25:37 sips /usr/local/sbin/opensips[2271]:
> > ERROR:core:get_hdr_field: out of pkg memory
> >
> >
> > Sep 16 15:25:37 sips /usr/local/sbin/opensips[2271]:
> > ERROR:tm:t_check: reply cannot be parsed
> >
> > Sep 16 15:25:37 sips /usr/local/sbin/opensips[2271]:
> > ERROR:core:parse_from_header: out of pkg_memory
> > Sep 16 15:25:37 sips /usr/local/sbin/opensips[2271]:
> > ERROR:dialog:pre_match_parse: failed to get From header
> > Sep 16 15:25:37 sips /usr/local/sbin/opensips[2271]:
> > ERROR:core:parse_from_header: out of pkg_memory
> >
> >
> >
> > Sep 16 15:25:37 sips  /usr/local/sbin/opensips[2271]:
> > ERROR:tm:parse_dlg: From broken
> > Sep 16 15:25:37 sips /usr/local/sbin/opensips[2271]:
> > ERROR:tm:matching_3261: dlg parsing failed
> > Sep 16 15:25:37 sips /usr/local/sbin/opensips[2271]:
> > ERROR:core:build_req_buf_from_sip_req: out of pkg memory
> >
> >
> >
> > Sep 16 15:25:37 sips /usr/local/sbin/opensips[2271]:
> > ERROR:core:forward_request: building req buf failed
> > Sep 16 15:25:37 sips /usr/local/sbin/opensips[2271]:
> > ERROR:core:get_hdr_field: out of pkg memory
> > Sep 16 15:25:37 sips /usr/local/sbin/opensips[2271]:
> > ERROR:tm:t_check: reply cannot be parsed
> >
> >
> >
> > Sep 16 15:25:37 sips /usr/local/sbin/opensips[2271]:
> > ERROR:core:get_hdr_field: out of pkg memory
> > Sep 16 15:25:37 sips  /usr/local/sbin/opensips[2271]:
> > ERROR:tm:t_check: reply cannot be parsed
> >
> > Ive got it  using -m 2048 at startup, from what I can tell
> > never more then 1 gig of RAM get's used. This is at
> > around 70CPS on a single dual core Xeon, CPU is at 90%+
> > idle. Anything else I can tweek, or this a bug/memory leak
> > perhaps?
> >
> >
> >
> >
> > We are using quit a few memcache_fetch calls for LCR and
> > other purposes, about 12 or so per call.
> >
> > It's also dumping a core, will that help me?
> >
> > Thanks!
> >
> >
> >
> > _______________________________________________
> >
> > Users mailing list
> >
> > Users at lists.opensips.org
> >
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> >
> >
> >
> >
> > -----Inline Attachment Follows-----
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090917/29f907c9/attachment-0001.htm 


More information about the Users mailing list