[OpenSIPS-Users] number of opensips children

opensipslist at encambio.com opensipslist at encambio.com
Fri Dec 18 12:39:10 CET 2009


Hello,

An ven., déc 18, 2009, opensipslist at encambio.com schrieb:
>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?
>
I don't have any IP address aliases in the config, and the platform:

  Solaris 11 x86 (nv-b91)
  OpenSIPS 1.6.0 with TLS

Thanks,
Brian



More information about the Users mailing list