<div dir="ltr">Hi<div><br></div><div>You should have 5 per interface + some internal control threads. I'm not sure exactly.</div><div><br></div><div>Regards</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 23, 2018 at 9:25 AM, xaled <span dir="ltr"><<a href="mailto:xaled@web.de" target="_blank">xaled@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="DE" link="#0563C1" vlink="#954F72"><div class="m_-1571360882569996358WordSection1"><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">Hi <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">I have configured 5 children in opensips.cfg, but 16 get logged and 18 initiated what could be the cause of it?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">I search for word children in opensips directory and it only comes ones in opensips.conf.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">children=5<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">Feb 23 13:07:09 srv01 opensips: DBG:core:daemonize: waiting for status code from children<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">Feb 23 13:07:09 srv01 opensips: DBG:core:count_init_children: 16 children are going to be inited<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">root@dus-appsrv01:/var/log/<wbr>opensips# ps ax|grep sips<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14854 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14856 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14857 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14858 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14861 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14862 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14863 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14864 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14865 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14867 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14869 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14870 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14871 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14872 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14874 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14875 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14876 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14877 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">With commended children parameter I get 19 children in the log and 21 in reality:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">Feb 23 13:13:24 dus-appsrv01 opensips: DBG:core:daemonize: waiting for status code from children<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">Feb 23 13:13:24 dus-appsrv01 opensips: DBG:core:count_init_children: 19 children are going to be inited<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">root@srv01:/var/log/opensips# ps ax|grep sips<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14723 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14725 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14726 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14727 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14730 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14731 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14732 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14733 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14734 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14736 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14737 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14738 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14739 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14741 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14742 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14743 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14744 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14745 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14748 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14749 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">14750 ? S 0:00 /usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 64 -M 4<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">root@srv01:/etc/opensips# opensips -V<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">version: opensips 2.3.3 (x86_64/linux)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">main.c compiled on with gcc 6.3.0<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">Thanks,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">Xaled<u></u><u></u></span></p></div></div><br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>