[OpenSIPS-Users] with more PIDs i would have more capacity?
Vlad Paiu
vladpaiu at opensips.org
Fri Jul 22 12:55:59 CEST 2011
Hello,
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.
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.
Regards,
--
Vlad Paiu
OpenSIPS Developer
On 07/22/2011 01:19 PM, Toyima Dias wrote:
> Hello,
> 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?
>
> Regards
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110722/533fa76b/attachment.htm>
More information about the Users
mailing list