[OpenSIPS-Users] children

Miha miha at softnet.si
Tue Dec 17 11:56:54 CET 2013


Liviu,

tnx I am using DB queries, exec commands (this happends only for sending 
mail due to some abuse, very very rarely), enum lookup, radius for 
accouting, load_balancing,... and CPU has 8 cors.

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,
miha


Dne 12/17/2013 11:37 AM, pis(e Liviu Chircu:
> Hello,
>
> There is no simple answer, choosing the appropriate number of children 
> is scenario-dependant.
>
> 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 *number of cores* on your box.
>
> 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).
>
> Best regards,
> Liviu Chircu
> OpenSIPS Developer
> http://www.opensips-solutions.com
> On 12/17/2013 09:56 AM, Miha wrote:
>> Hi,
>>
>> how to dermine how many children do I need (default I have 4)?
>> I did not find any appropriate explanation.
>>
>> tnx!
>>
>> miha
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> 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/20131217/9de5c584/attachment-0001.htm>


More information about the Users mailing list