[Kamailio-Users] openser children parameter

Klaus Darilion klaus.mailinglists at pernau.at
Thu Aug 28 11:00:04 CEST 2008



Daniel-Constantin Mierla schrieb:
> Hello,
> 
> On 08/28/08 04:37, toly wrote:
>> Greetings,
>>
>> What would be value of children parameter for few thousands user?
>>   
> depends also on the number of calls. You should be safe with 16. Beware 
> that the number are per IP address per transport protocol.

/*klaus is nitpicking*/
with children you set the number of processes per UDP listening socket
with tcp_children you set the number of processes for TCP/TLS handling

e.g.
listen=udp:1.2.3.4:5060
listen=udp:1.2.3.4:5070
listen=udp:5.6.7.8:5060

listen=tcp:1.2.3.4:5060
listen=tcp:1.2.3.4:5070
listen=tcp:5.6.7.8:5060
listen=tls:1.2.3.4:5061
listen=tls:1.2.3.4:5071
listen=tls:5.6.7.8:5061

children=10
tcp_children = 10

==> 3x10 + 10 = 40 worker processes

easy to analyze using "kamctl ps"

regards
klaus




More information about the sr-users mailing list