[OpenSIPS-Users] Why so many instances of OpenSIPS is running at same time?
Rodrigo Pimenta Carvalho
pimenta at inatel.br
Fri Jan 29 15:01:05 CET 2016
Hi.
In my system using OpenSIPS, the maximum number of client will be 8.
In addiction, only 2 simultaneous calls will be allowed.
So, I have decided to make children = 1.
Is this an appropriate decision?
Best regards.
RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979
________________________________
De: users-bounces at lists.opensips.org <users-bounces at lists.opensips.org> em nome de Rodrigo Pimenta Carvalho <pimenta at inatel.br>
Enviado: sexta-feira, 29 de janeiro de 2016 11:22
Para: OpenSIPS users mailling list
Assunto: Re: [OpenSIPS-Users] Why so many instances of OpenSIPS is running at same time?
Yes Bogdan-Andrei.
I was right now reading about it on the documentation too.
According to the documentation, we can take control of the number of children process for every interface/protocol, for example.
So, how to decide what could be an appropriate number of children process for each protocol that OpenSIPS will listen to?
My OpenSIPS is listening on
udp: 192.168.21.40 [192.168.21.40]:5060
tcp: 192.168.21.40 [192.168.21.40]:5060
tls: 192.168.21.40 [192.168.21.40]:5061
tls: 192.168.21.40 [192.168.21.40]:5071
Thanks a lot!
RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979
________________________________
De: users-bounces at lists.opensips.org <users-bounces at lists.opensips.org> em nome de Bogdan-Andrei Iancu <bogdan at opensips.org>
Enviado: sexta-feira, 29 de janeiro de 2016 11:08
Para: OpenSIPS users mailling list
Assunto: Re: [OpenSIPS-Users] Why so many instances of OpenSIPS is running at same time?
Rodrigo,
There is only one instance of OpenSIPS as application, but it has multiple processes - as Rik said, you can use "opensipsctl fifo ps" to see all the opensips processes and their role.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
[http://www.opensips-solutions.com/imgs/opensips-solutions-logo.gif]<http://www.opensips-solutions.com/>
Home — OpenSIPS Solutions<http://www.opensips-solutions.com/>
www.opensips-solutions.com
OpenSIPS is a mature Open Source implementation of a SIP server. OpenSIPS is more than a SIP proxy/router as it includes application-level functionalities.
On 29.01.2016 13:37, Rodrigo Pimenta Carvalho wrote:
Hi.
When OpenSIPS is started, I can see many instances of it running. Why so many instances? See:
pimenta at ICCSW-026181:/usr/local/opensips_proxy/sbin$ ps -ef | grep opensips
root 3344 2073 0 09:25 ? 00:00:00 /usr/local/opensips_proxy/sbin/opensips -P /var/run/opensips/opensips.pid -m 64 -M 4 -u root -g root -E -f /usr/local/opensips_proxy/etc/opensips/opensips_residential_2015-11-5_16_46_31.cfg
root 3345 3344 0 09:25 ? 00:00:00 /usr/local/opensips_proxy/sbin/opensips -P /var/run/opensips/opensips.pid -m 64 -M 4 -u root -g root -E -f /usr/local/opensips_proxy/etc/opensips/opensips_residential_2015-11-5_16_46_31.cfg
root 3346 3344 0 09:25 ? 00:00:00 /usr/local/opensips_proxy/sbin/opensips -P /var/run/opensips/opensips.pid -m 64 -M 4 -u root -g root -E -f /usr/local/opensips_proxy/etc/opensips/opensips_residential_2015-11-5_16_46_31.cfg
root 3347 3344 0 09:25 ? 00:00:00 /usr/local/opensips_proxy/sbin/opensips -P /var/run/opensips/opensips.pid -m 64 -M 4 -u root -g root -E -f /usr/local/opensips_proxy/etc/opensips/opensips_residential_2015-11-5_16_46_31.cfg
root 3348 3344 0 09:25 ? 00:00:00 /usr/local/opensips_proxy/sbin/opensips -P /var/run/opensips/opensips.pid -m 64 -M 4 -u root -g root -E -f /usr/local/opensips_proxy/etc/opensips/opensips_residential_2015-11-5_16_46_31.cfg
root 3349 3344 0 09:25 ? 00:00:00 /usr/local/opensips_proxy/sbin/opensips -P /var/run/opensips/opensips.pid -m 64 -M 4 -u root -g root -E -f /usr/local/opensips_proxy/etc/opensips/opensips_residential_2015-11-5_16_46_31.cfg
root 3350 3344 0 09:25 ? 00:00:00 /usr/local/opensips_proxy/sbin/opensips -P /var/run/opensips/opensips.pid -m 64 -M 4 -u root -g root -E -f /usr/local/opensips_proxy/etc/opensips/opensips_residential_2015-11-5_16_46_31.cfg
root 3351 3344 0 09:25 ? 00:00:00 /usr/local/opensips_proxy/sbin/opensips -P /var/run/opensips/opensips.pid -m 64 -M 4 -u root -g root -E -f /usr/local/opensips_proxy/etc/opensips/opensips_residential_2015-11-5_16_46_31.cfg
root 3352 3344 0 09:25 ? 00:00:00 /usr/local/opensips_proxy/sbin/opensips -P /var/run/opensips/opensips.pid -m 64 -M 4 -u root -g root -E -f /usr/local/opensips_proxy/etc/opensips/opensips_residential_2015-11-5_16_46_31.cfg
root 3353 3344 0 09:25 ? 00:00:00 /usr/local/opensips_proxy/sbin/opensips -P /var/run/opensips/opensips.pid -m 64 -M 4 -u root -g root -E -f /usr/local/opensips_proxy/etc/opensips/opensips_residential_2015-11-5_16_46_31.cfg
root 3354 3344 0 09:25 ? 00:00:00 /usr/local/opensips_proxy/sbin/opensips -P /var/run/opensips/opensips.pid -m 64 -M 4 -u root -g root -E -f /usr/local/opensips_proxy/etc/opensips/opensips_residential_2015-11-5_16_46_31.cfg
root 3355 3344 0 09:25 ? 00:00:00 /usr/local/opensips_proxy/sbin/opensips -P /var/run/opensips/opensips.pid -m 64 -M 4 -u root -g root -E -f /usr/local/opensips_proxy/etc/opensips/opensips_residential_2015-11-5_16_46_31.cfg
root 3356 3344 0 09:25 ? 00:00:00 /usr/local/opensips_proxy/sbin/opensips -P /var/run/opensips/opensips.pid -m 64 -M 4 -u root -g root -E -f /usr/local/opensips_proxy/etc/opensips/opensips_residential_2015-11-5_16_46_31.cfg
root 3357 3344 0 09:25 ? 00:00:00 /usr/local/opensips_proxy/sbin/opensips -P /var/run/opensips/opensips.pid -m 64 -M 4 -u root -g root -E -f /usr/local/opensips_proxy/etc/opensips/opensips_residential_2015-11-5_16_46_31.cfg
root 3358 3344 0 09:25 ? 00:00:00 /usr/local/opensips_proxy/sbin/opensips -P /var/run/opensips/opensips.pid -m 64 -M 4 -u root -g root -E -f /usr/local/opensips_proxy/etc/opensips/opensips_residential_2015-11-5_16_46_31.cfg
root 3359 3344 0 09:25 ? 00:00:00 /usr/local/opensips_proxy/sbin/opensips -P /var/run/opensips/opensips.pid -m 64 -M 4 -u root -g root -E -f /usr/local/opensips_proxy/etc/opensips/opensips_residential_2015-11-5_16_46_31.cfg
root 3360 3344 0 09:25 ? 00:00:00 /usr/local/opensips_proxy/sbin/opensips -P /var/run/opensips/opensips.pid -m 64 -M 4 -u root -g root -E -f /usr/local/opensips_proxy/etc/opensips/opensips_residential_2015-11-5_16_46_31.cfg
pimenta 3843 3220 0 09:34 pts/0 00:00:00 grep --color=auto opensips
Thank you.
RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979
_______________________________________________
Users mailing list
Users at lists.opensips.org<mailto: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/20160129/6fa967ac/attachment.htm>
More information about the Users
mailing list