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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users