<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>Hello,</p>
<p>note that other processes are created by kamailio, not only sip
worker processes. For example, there will be timer processes.</p>
<p>The dedicated worker processes are only for UDP sockets, not for
tcp/tls (here is a single pool of workers for all tcp/tls
sockets). If you do not receive traffic on a specific udp socket,
then do not listen to it, you have a group of processes not doing
anything. If you need to listen on a socket, but have less traffic
(e.g., used for monitoring), then use workers parameter before
listen, so you get less worker processes for that udp socket.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 01.09.20 12:03, Ali Taher wrote:<br>
</div>
<blockquote type="cite"
cite="mid:AM6PR09MB28877616FB6BEAABE08669DECA2E0@AM6PR09MB2887.eurprd09.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<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:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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]-->
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I just want to ask regarding the children
number and listening interfaces set in Kamailio configuration.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am given to understand that the total
number of worker processes there will be (children_setting *
listeners) , so assuming I have set children=12 and
listen=<a class="moz-txt-link-freetext" href="udp:172.16.1.12:5060">udp:172.16.1.12:5060</a> (which is the interface IP where
the SIP packets as received), in this case there will be 12
worker processes and 12 database connections to postgresql
(I’m using SQLOPS).
<o:p></o:p></p>
<p class="MsoNormal">My question is if I set
listen=<a class="moz-txt-link-freetext" href="udp:0.0.0.0:5060">udp:0.0.0.0:5060</a> , knowing that I have 3 interfaces, in
this case the number of worker processes will be 36. Is this
good configuration ? will the other 24 processes be used or
they are reserved to the 2 other interfaces which are not
receiving any SIP packets and then will be useless ?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Ali Taher<o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
</body>
</html>