<!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>
In the current OpenSIPS design most of the operations are done in
blocking mode ( DB, DNS, etc ). So, it is useful to have more SIP
children, because in case on child gets blocked in doing a database
operation, for example, other SIP children will come and process the
SIP traffic.<br>
<br>
Yes, the number of children should be chosen depending on the
hardware available, especially the number of CPU cores available on
the machine. Too few SIP children will not use the hardware to it's
full potential, while too many SIP children, compared to the number
of CPU cores, might downgrade performance, because of the heavy
process context switching that will be happening.<br>
<br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">--
Vlad Paiu
OpenSIPS Developer</pre>
<br>
<br>
On 07/22/2011 01:19 PM, Toyima Dias wrote:
<blockquote
cite="mid:CACEaQHbs-aa7=fSvBsgJuMDw=LBOaZm1-1bwDrGZfZYE1T84eA@mail.gmail.com"
type="cite">
<div><font face="verdana,sans-serif">Hello,</font></div>
<div> </div>
<div><font face="verdana,sans-serif">I would like to know, what's
the really purpose of fork and children on the config file? if
i put children=8 opensips will create 8 PIDs for each listen
interface...right? so, if i increase the value of children the
capacity on terms of call handling will increase in opensips?
with more PIDs more calls will be handling faster? or it only
depends on the hardware capacity? is there any recommendation
for a value on children?</font></div>
<p><font face="verdana,sans-serif">Regards</font></p>
<font face="verdana,sans-serif">
<div><br clear="all">
</div>
</font>
<div><br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>