<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Liviu,<br>
<br>
tnx!<br>
<br>
miha<br>
<div class="moz-cite-prefix">Dne 12/17/2013 12:48 PM, piše Liviu
Chircu:<br>
</div>
<blockquote cite="mid:52B03A09.6000400@opensips.org" type="cite">
<meta http-equiv="Context-Type" content="text/html;
charset=ISO-8859-1">
<div class="moz-cite-prefix">You could monitor the UDP receive
queue on your interfaces with:<br>
<br>
<i>watch -n0.1 'netstat -ulnp'</i><br>
<br>
If you constantly see your OpenSIPS listening interface buffers
getting full, then you need more than 8 SIP workers.<br>
<br>
Best regards,<br>
<pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 12/17/2013 12:56 PM, Miha wrote:<br>
</div>
<blockquote cite="mid:52B02DF6.6080803@softnet.si" type="cite">
Liviu,<br>
<br>
tnx I am using DB queries, exec commands (this happends only for
sending mail due to some abuse, very very <span id="result_box"
class="short_text" lang="en"><span class="hps">rarely</span></span>),
enum lookup, radius for accouting, load_balancing,... and CPU
has 8 cors.<br>
<br>
I have set number of children to 8. Is there any way to
determine if this is ok or how will I know? Is it better to use
12?<br>
<br>
br,<br>
miha<br>
<br>
<br>
<div class="moz-cite-prefix">Dne 12/17/2013 11:37 AM, piše Liviu
Chircu:<br>
</div>
<blockquote cite="mid:52B02984.2000600@opensips.org" type="cite">
<div class="moz-cite-prefix">Hello,<br>
<br>
There is no simple answer, choosing the appropriate number
of children is scenario-dependant.<br>
<br>
If, for example, you are not performing I/O operations (DB
queries, exec commands, etc.), then the number of children
should be dictated by the <b>number of cores</b> on your
box.<br>
<br>
On the other side, when your SIP workers will perform lots
of disk operations (which are slow), then you should use a
lot more children than mentioned above. (e.g. 12, 16 or 20
children).<br>
<br>
Best regards,<br>
<pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 12/17/2013 09:56 AM, Miha wrote:<br>
</div>
<blockquote cite="mid:52B0039B.8070905@softnet.si" type="cite">Hi,
<br>
<br>
how to dermine how many children do I need (default I have
4)? <br>
I did not find any appropriate explanation. <br>
<br>
tnx! <br>
<br>
miha <br>
<br>
_______________________________________________ <br>
Users mailing list <br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
<br>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>