<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
I am cc-ing Andrei, since he authored that part, maybe he is
available these days and can give a quick answer regarding the
issue.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
On 2/14/12 6:06 PM, Paul Pankhurst wrote:
<blockquote cite="mid:8FBBC87FCC16400BBF99DB3799696A94@pjplaptop"
type="cite">
<div dir="ltr">
<div style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE:
12pt">
<div><font face="Times New Roman">Sorry this was originally
posted incorrectly, so I’m reposting....</font></div>
<div> </div>
<div><font face="Times New Roman">I have been having problems
with TCP under load. What I have been seeing is <br>
TCP buffers failing to be serviced and, when wr_timeout
exceeds the <br>
configured value for tcp_send_timeout, kamailio kills the
connection. <br>
Increasing tcp_send_timeout doesn't help, even setting
this to a big value <br>
(such as 45 seconds) just delays the disconnection.<br>
<br>
Putting some tracing into the code shows that wbufq_add()
is repeatedly <br>
called, but wbufq_run() is called for that connection far
less than I would <br>
expect. wbufq_run() is frequently called for other
connections. It looks <br>
like wbufq_run() doesn't get called when lots of
wbufq_add()s are happening <br>
for a connection? wbufq_run() only appears to be called
for a connection <br>
after some time has passed from the last wbufq_add().<br>
<br>
The connection in question is a local loopback between the
RLS and Presence <br>
modules (both running in the same Kamailio instance).
However, it may just <br>
be a coincidence that this is the affected connection as
it is also the one <br>
with the most traffic.<br>
<br>
My suspicion is that the bug is in the
io_wait_loop_epoll() routine.<br>
<br>
Can anybody with experience of this part of the code help?<br>
<br>
</font></div>
<div style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE:
12pt">Paul Pankhurst<br>
Engineering Director<br>
Crocodile RCS Ltd<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
sr-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
</body>
</html>