[OpenSIPS-Users] dialog module leaking memory

Brett Nemeroff brett at nemeroff.com
Fri Jul 3 07:02:07 CEST 2009


Hey All,I've got a stateful dispatcher I've build using dialog profiles.
Apparently I'm doing something stupid in my script generating these errors:
Jul  3 00:54:20 opensips-a /usr/local/sbin/opensips[26189]:
ERROR:dialog:set_dlg_profile: dialog was not yet created - script error
Jul  3 00:54:20 opensips-a /usr/local/sbin/opensips[26189]:
ERROR:dialog:w_set_dlg_profile: failed to set profile
Jul  3 00:55:20 opensips-a /usr/local/sbin/opensips[26189]:
ERROR:dialog:set_dlg_profile: dialog was not yet created - script error
Jul  3 00:55:20 opensips-a /usr/local/sbin/opensips[26189]:
ERROR:dialog:w_set_dlg_profile: failed to set profile

I think the lines causing this are:
...

failure_route[1] {
        unset_dlg_profile("gateway","$rd");
...

In any case, the more serious issue is after a whole lot of that error
message showing up I then get:
Jun 29 11:30:32 opensips-a /usr/local/sbin/opensips[14209]:
ERROR:dialog:unset_dlg_profile: dialog was not yet created - script error
Jun 29 11:30:32 opensips-a /usr/local/sbin/opensips[14209]:
ERROR:dialog:w_unset_dlg_profile: failed to unset profile
Jun 29 11:31:11 opensips-a /usr/local/sbin/opensips[14206]:
ERROR:dialog:set_dlg_profile: dialog was not yet created - script error
Jun 29 11:31:11 opensips-a /usr/local/sbin/opensips[14206]:
ERROR:dialog:w_set_dlg_profile: failed to set profile
Jun 29 11:31:42 opensips-a /usr/local/sbin/opensips[14206]:
ERROR:tm:sip_msg_cloner: no more share memory
Jun 29 11:31:42 opensips-a /usr/local/sbin/opensips[14206]: ERROR:tm:new_t:
out of mem
Jun 29 11:31:42 opensips-a /usr/local/sbin/opensips[14206]:
ERROR:tm:t_newtran: new_t failed
Jun 29 11:31:42 opensips-a /usr/local/sbin/opensips[14207]:
ERROR:tm:sip_msg_cloner: no more share memory
Jun 29 11:31:42 opensips-a /usr/local/sbin/opensips[14207]: ERROR:tm:new_t:
out of mem
Jun 29 11:31:42 opensips-a /usr/local/sbin/opensips[14207]:
ERROR:tm:t_newtran: new_t failed
Jun 29 11:31:43 opensips-a /usr/local/sbin/opensips[14205]:
ERROR:tm:sip_msg_cloner: no more share memory
Jun 29 11:31:43 opensips-a /usr/local/sbin/opensips[14205]: ERROR:tm:new_t:
out of mem
Jun 29 11:31:43 opensips-a /usr/local/sbin/opensips[14205]:
ERROR:tm:t_newtran: new_t failed
Jun 29 11:31:43 opensips-a /usr/local/sbin/opensips[14207]:
ERROR:tm:sip_msg_cloner: no more share memory
Jun 29 11:31:43 opensips-a /usr/local/sbin/opensips[14207]: ERROR:tm:new_t:
out of mem
Jun 29 11:31:43 opensips-a /usr/local/sbin/opensips[14207]:
ERROR:tm:t_newtran: new_t failed
Jun 29 11:31:43 opensips-a /usr/local/sbin/opensips[14205]:
ERROR:tm:sip_msg_cloner: no more share memory
Jun 29 11:31:43 opensips-a /usr/local/sbin/opensips[14205]: ERROR:tm:new_t:
out of mem
Jun 29 11:31:43 opensips-a /usr/local/sbin/opensips[14205]:
ERROR:tm:t_newtran: new_t failed
Jun 29 11:31:43 opensips-a /usr/local/sbin/opensips[14205]:
ERROR:tm:sip_msg_cloner: no more share memory
Jun 29 11:31:43 opensips-a /usr/local/sbin/opensips[14205]: ERROR:tm:new_t:
out of mem
Jun 29 11:31:43 opensips-a /usr/local/sbin/opensips[14205]:
ERROR:tm:t_newtran: new_t failed


And then calls fail to process properly of course. So even if I'm doing
something stupid in my script, it shouldn't run out of memory because of it,
right?

-Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090703/12a85693/attachment.htm 


More information about the Users mailing list