<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
what are the parameters for t_replicate(), any flags? Do you create a
transaction for register before t_replicate (e.g., by calling t_newtran
in config)?<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<br>
On 5/13/10 11:53 AM, Santiago Gimeno wrote:
<blockquote
cite="mid:AANLkTikUtlb0xbebCjW0KnsI7Ija4Gh_9KupPZzBuj1C@mail.gmail.com"
type="cite">Hi,<br>
<br>
It happens randomly, after some hours or some days, no particular
pattern.<br>
There is no error message in the syslog. The debug level is set at 0.
Would a higher debug level help to track the issue?<br>
We only use t_replicate to send the REGISTER to a backup proxy.<br>
<br>
Thanks,<br>
<br>
Santi<br>
<br>
<div class="gmail_quote">2010/5/13 Daniel-Constantin Mierla <span
dir="ltr"><<a moz-do-not-send="true" href="mailto:miconda@gmail.com">miconda@gmail.com</a>></span><br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">Hello,<br>
<br>
seems to be something related to t_replicate(). Can you reproduce it
easily? If not, how often does it happen? Do you see any particular
error messages in syslog, before frozen?<br>
<br>
Cheers,<br>
Daniel
<div>
<div class="h5"><br>
<br>
On 5/13/10 10:39 AM, Santiago Gimeno wrote:
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">Hi,<br>
<br>
I'm working with Kamailio 1.5 (rev 5968) and from time to time kamailio
freezes and stops processing messages. Kamailio is working only in UDP.
I really don't know in which conditions this problem is happening: it
happens both in high and low load.<br>
Here is a backtrace of one of the UDP working processes when kamailio
is frozen (all the other UDP process backtraces look similar) :<br>
<br>
#0 0xb7fdf410 in ?? ()<br>
#1 0xbfbfec28 in ?? ()<br>
#2 0x00000001 in ?? ()<br>
#3 0xa7392ad0 in ?? ()<br>
#4 0xb7f3b4ac in sched_yield () from /lib/tls/i686/cmov/libc.so.6<br>
#5 0xb7ba9463 in lock_hash (i=10361) at ../../mem/../fastlock.h:182<br>
#6 0xb7bc4587 in t_lookup_request (p_msg=0x823fc70,
leave_new_locked=1) at t_lookup.c:468<br>
#7 0xb7bc54ae in t_newtran (p_msg=0x823fc70) at t_lookup.c:1124<br>
#8 0xb7bb740c in t_relay_to (p_msg=0x823fc70, proxy=0x0, flags=1) at
t_funcs.c:212<br>
#9 0xb7bb8f6c in t_replicate (p_msg=0x823fc70, dst=0x817cdf8, flags=1)
at t_fwd.c:763<br>
#10 0xb7bc7fce in w_t_replicate (p_msg=0x823fc70, dst=0x817cdf8
"\230ê\030\b\016", flags=0x0) at tm.c:957<br>
#11 0x0805301c in do_action (a=0x818eb20, msg=0x823fc70) at action.c:874<br>
#12 0x080557aa in run_action_list (a=0x818eb20, msg=0x823fc70) at
action.c:145<br>
#13 0x08054491 in do_action (a=0x818ec78, msg=0x823fc70) at action.c:746<br>
#14 0x080557aa in run_action_list (a=0x818c940, msg=0x823fc70) at
action.c:145<br>
#15 0x08053efb in do_action (a=0x81b38e0, msg=0x823fc70) at action.c:120<br>
#16 0x080557aa in run_action_list (a=0x81b3878, msg=0x823fc70) at
action.c:145<br>
#17 0x08054491 in do_action (a=0x81b5f00, msg=0x823fc70) at action.c:746<br>
#18 0x080557aa in run_action_list (a=0x81b5f00, msg=0x823fc70) at
action.c:145<br>
#19 0x08054f2d in do_action (a=0x81b5f68, msg=0x823fc70) at action.c:752<br>
#20 0x080557aa in run_action_list (a=0x81b5f68, msg=0x823fc70) at
action.c:145<br>
#21 0x08054f2d in do_action (a=0x81b5fd0, msg=0x823fc70) at action.c:752<br>
#22 0x080557aa in run_action_list (a=0x81aefd0, msg=0x823fc70) at
action.c:145<br>
#23 0x08053efb in do_action (a=0x818bc08, msg=0x823fc70) at action.c:120<br>
#24 0x080557aa in run_action_list (a=0x8187910, msg=0x823fc70) at
action.c:145<br>
#25 0x08055b43 in run_top_route (a=0x8187910, msg=0x823fc70) at
action.c:120<br>
#26 0x0808c659 in receive_msg (<br>
buf=0x8158040 "REGISTER sip:<a moz-do-not-send="true"
href="http://xxxxxxxxxxx.com" target="_blank">xxxxxxxxxxx.com</a>
SIP/2.0\r\nFrom: <<a moz-do-not-send="true"
href="mailto:sip%3Axxxxxx@xxxxxxxxxxxx.com" target="_blank">sip:xxxxxx@xxxxxxxxxxxx.com</a>>;tag=as516fcce2\r\nTo:
<<a moz-do-not-send="true"
href="mailto:sip%3Axxxxxxx@xxxxxxxxxxxx.com" target="_blank">sip:xxxxxxx@xxxxxxxxxxxx.com</a>>\r\nCall-ID:
<a moz-do-not-send="true"
href="mailto:01e4ea8e185c85332ea68874543c810e@xxxxxxxxxxxxxx.com"
target="_blank">01e4ea8e185c85332ea68874543c810e@xxxxxxxxxxxxxx.com</a>\r\nCSeq:
383
REGISTER\r\nVia: SIP"..., len=794, rcv_info=0xbfc004d4) at
receive.c:175<br>
#27 0x080c3ea3 in udp_rcv_loop () at udp_server.c:449<br>
#28 0x0806e394 in main (argc=9, argv=0xbfc006b4) at main.c:774<br>
<br>
Any idea of what might be happening?<br>
<br>
Best regards,<br>
<br>
Santi<br>
</div>
</div>
<pre><fieldset></fieldset>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<div class="im"><a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</div></pre>
</blockquote>
<div class="im"><br>
<pre cols="72">--
Daniel-Constantin Mierla
* <a moz-do-not-send="true" href="http://www.asipto.com/"
target="_blank">http://www.asipto.com/</a>
* <a moz-do-not-send="true" href="http://twitter.com/miconda"
target="_blank">http://twitter.com/miconda</a>
* <a moz-do-not-send="true"
href="http://www.linkedin.com/in/danielconstantinmierla"
target="_blank">http://www.linkedin.com/in/danielconstantinmierla</a>
</pre>
</div>
</div>
</blockquote>
</div>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
Kamailio Advanced Training for Carriers
June 21-23, 2010, Miami, Fl, USA
* <a class="moz-txt-link-freetext" href="http://www.asipto.com/">http://www.asipto.com/</a>
</pre>
</body>
</html>