[OpenSIPS-Users] number of opensips children
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Fri Dec 18 12:51:23 CET 2009
Brian,
there are modules creating separate processes for handling additional
events (like the mi_**** modules).
To see what processes you have and what they are doing, do:
opensipsctl fifo ps
Regards,
Bogdan
opensipslist at encambio.com wrote:
> Hello,
>
> An lun., déc 14, 2009, Stanisław PITUCHA schrieb:
>
>> 2009/12/14 Jeff Pyle <jpyle at fidelityvoice.com>:
>>
>>> I'm trying to determine the "proper" number of opensips children for my
>>> setup.
>>>
> Me too.
>
>
>> Unless you supply telephony to everyone in a small city, it will be
>> below 32 ;)
>>
>>
> Okay, I've decided to start low and increase the children as soon as
> I notice performance problems. Is this a good strategy to learn how
> many children you need?
>
> I turn off TCP completly and set children to the lowest value:
>
> listen=udp:name.host.tld:5060
> #listen=tls:name.host.tld:5061
> #disable_tls = 1
> children = 1
> #tcp_children = 1
> fork = yes
>
> ...look at this:
>
> # ps -ef | grep opensips
> osuser 17127 0:00 /pfx/sbin/opensips -P /pfx/var/opensips/opensips.pid
> osuser 17131 0:00 /pfx/sbin/opensips -P /pfx/var/opensips/opensips.pid
> osuser 17128 0:00 /pfx/sbin/opensips -P /pfx/var/opensips/opensips.pid
> osuser 17132 0:00 /pfx/sbin/opensips -P /pfx/var/opensips/opensips.pid
> osuser 17125 0:00 /pfx/sbin/opensips -P /pfx/var/opensips/opensips.pid
> osuser 17130 0:00 /pfx/sbin/opensips -P /pfx/var/opensips/opensips.pid
> osuser 17129 0:00 /pfx/sbin/opensips -P /pfx/var/opensips/opensips.pid
>
> Okay I understand that one of them is the master process and that I
> should expect an additional process due to the forking (fork=yes),
> but why are there 7 (!) processes being spawned? I do have SRV and
> NAPTR records in DNS, can it be due to them?
>
> Regards,
> Brian
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
--
Bogdan-Andrei Iancu
www.voice-system.ro
More information about the Users
mailing list