[OpenSIPS-Users] Wrong number of children
Bogdan-Andrei Iancu
bogdan at opensips.org
Mon Feb 26 10:41:24 EST 2018
Hi Xaled,
Do you use HEP for tracing or BIN for replication ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
OpenSIPS Summit 2018
http://www.opensips.org/events/Summit-2018Amsterdam
On 02/26/2018 01:36 PM, xaled wrote:
>
> Hi Callum,
>
> that helped thanks.
>
> I have 8 TCP receivers and one TCP main process that I did not
> expected as I only listen on udp.
>
> Will have to understand the TCP spawn logic.
>
> Greetings,
>
> Xaled
>
> *From:*Users [mailto:users-bounces at lists.opensips.org] *On Behalf Of
> *Callum Guy
> *Sent:* Friday, February 23, 2018 2:42 PM
> *To:* OpenSIPS users mailling list <users at lists.opensips.org>
> *Subject:* Re: [OpenSIPS-Users] Wrong number of children
>
> Hi Xaled,
>
> If you have the FIFO module loaded you can run "opensipsctl fifo ps"
> on the instance to see full details of each process.
>
> https://www.opensips.org/Documentation/Interface-CoreMI-2-2#toc7
>
> Hope that helps,
>
> Callum
>
> On Fri, Feb 23, 2018 at 1:35 PM Daniel Zanutti
> <daniel.zanutti at gmail.com <mailto:daniel.zanutti at gmail.com>> wrote:
>
> Hi
>
> You should have 5 per interface + some internal control threads.
> I'm not sure exactly.
>
> Regards
>
> On Fri, Feb 23, 2018 at 9:25 AM, xaled <xaled at web.de
> <mailto:xaled at web.de>> wrote:
>
> Hi
>
> I have configured 5 children in opensips.cfg, but 16 get
> logged and 18 initiated what could be the cause of it?
>
> I search for word children in opensips directory and it only
> comes ones in opensips.conf.
>
> children=5
>
> Feb 23 13:07:09 srv01 opensips: DBG:core:daemonize: waiting
> for status code from children
>
> Feb 23 13:07:09 srv01 opensips: DBG:core:count_init_children:
> 16 children are going to be inited
>
> root at dus-appsrv01:/var/log/opensips# ps ax|grep sips
>
> 14854 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14856 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14857 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14858 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14861 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14862 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14863 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14864 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14865 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14867 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14869 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14870 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14871 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14872 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14874 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14875 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14876 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14877 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> With commended children parameter I get 19 children in the log
> and 21 in reality:
>
> Feb 23 13:13:24 dus-appsrv01 opensips: DBG:core:daemonize:
> waiting for status code from children
>
> Feb 23 13:13:24 dus-appsrv01 opensips:
> DBG:core:count_init_children: 19 children are going to be inited
>
> root at srv01:/var/log/opensips# ps ax|grep sips
>
> 14723 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14725 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14726 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14727 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14730 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14731 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14732 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14733 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14734 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14736 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14737 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14738 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14739 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14741 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14742 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14743 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14744 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14745 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14748 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14749 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> 14750 ? S 0:00 /usr/sbin/opensips -P
> /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64
> -M 4
>
> root at srv01:/etc/opensips# opensips -V
>
> version: opensips 2.3.3 (x86_64/linux)
>
> flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP,
> PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
>
> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144,
> MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
>
> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
>
> main.c compiled on with gcc 6.3.0
>
> Thanks,
>
> Xaled
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> --
>
> Callum Guy
>
> Head of Information Security
>
> X-on
>
> *^0333 332 0000 | www.x-on.co.uk <http://www.x-on.co.uk> |
> **_**^<https://www.linkedin.com/company/x-on>
> <https://www.facebook.com/XonTel> <https://twitter.com/xonuk> ***
> X-on is a trading name of Storacall Technology Ltd a limited company
> registered in England and Wales.
> Registered Office : Avaland House, 110 London Road, Apsley, Hemel
> Hempstead, Herts, HP3 9SD. Company Registration No. 2578478.
> The information in this e-mail is confidential and for use by the
> addressee(s) only. If you are not the intended recipient, please
> notify X-on immediately on +44(0)333 332 0000 and delete the
> message from your computer. If you are not a named addressee you must
> not use, disclose, disseminate, distribute, copy, print or reply to
> this email. Views or opinions expressed by an individual
> within this email may not necessarily reflect the views of X-on or its
> associated companies. Although X-on routinely screens for viruses,
> addressees should scan this email and any attachments
> for viruses. X-on makes no representation or warranty as to the
> absence of viruses in this email or any attachments.
>
>
>
> _______________________________________________
> 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/20180226/235e43a8/attachment-0001.html>
More information about the Users
mailing list