<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Hi <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></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?<o:p></o:p></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.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>children=5<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></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<o:p></o:p></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<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>root@dus-appsrv01:/var/log/opensips# ps ax|grep sips<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></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:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></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<o:p></o:p></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<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>root@srv01:/var/log/opensips# ps ax|grep sips<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>root@srv01:/etc/opensips# opensips -V<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>version: opensips 2.3.3 (x86_64/linux)<o:p></o:p></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<o:p></o:p></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<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>main.c compiled on with gcc 6.3.0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Xaled<o:p></o:p></span></p></div></body></html>