<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Slava,<br>
<br>
Based on the OpenSIPS logs, did you get that error on the first
forking attempt or sometime later after some number of new tcp
processes forking ? More or less, my question is : what was the
process creation/termination history before getting that bug log ?<br>
<br>
Also I just pushed a small commit to improve the date provided by
the bug log.<br>
<br>
In regards to the "not clear how to calculate"...could you be
specific ?<br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2019
<a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2019Amsterdam/">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
<div class="moz-cite-prefix">On 03/10/2019 05:12 PM, Slava Bendersky
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1387008888.101.1552230768174.JavaMail.bendersky@nlws01.networklab.lan">
<style type="text/css">p { margin: 0; }</style>
<div style="font-family: courier
new,courier,monaco,monospace,sans-serif; font-size: 12pt; color:
#000000"><font face="courier new, courier, monaco, monospace,
sans-serif"><span style="font-size: 12pt;">Hello Everyone,</span></font>
<div style="color: rgb(0, 0, 0); font-family: "courier
new", courier, monaco, monospace, sans-serif; font-size:
12pt;">Trying test auto scaling feature with following config</div>
<div style="color: rgb(0, 0, 0); font-family: "courier
new", courier, monaco, monospace, sans-serif; font-size:
12pt;"><br>
</div>
<div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif">auto_scaling_profile = PRF_SIP</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"> scale up to 24 on 70% for 4 cycles within
5</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"> scale down to 4 on 20% for 8 cycles</font></div>
</div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"><br>
</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif">On box 4096 Mb memory and 4 virtual CPU</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"><br>
</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif">Getting in log </font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"><br>
</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif">CRITICAL:core:fork_dynamic_tcp_process:
#012>>> trying to fork one more TCP worker but no
free slots in the TCP table#012#012It seems you have hit a
programming bug.#012Please help us make OpenSIPS better by
reporting it at <a class="moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips/issues">https://github.com/OpenSIPS/opensips/issues</a></font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"><br>
</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"><br>
</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"><b>Not clear how to calculate workers for tcp or
udp</b></font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"><br>
</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"><b>tcp_workers=10</b> use_auto_scaling_profile
PRF_SIP </font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"><b>listen=udp:lan_ip:5060</b>
use_auto_scaling_profile PRF_SIP</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"><br>
</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"><br>
</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif">
<div>[root@vprx00 ~]# opensips -V</div>
<div>version: opensips 3.0.0-dev (x86_64/linux)</div>
<div>flags: STATS: On, SHM_EXTRA_STATS, DISABLE_NAGLE,
USE_MCAST, SHM_MMAP, PKG_MALLOC, QM_MALLOC, DBG_MALLOC,
FAST_LOCK-ADAPTIVE_WAIT</div>
<div>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144,
MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535</div>
<div>poll method support: poll, epoll, sigio_rt, select.</div>
<div>main.c compiled on 10:06:47 Mar 7 2019 with gcc 8</div>
<div><br>
</div>
<div><br>
</div>
</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif">volga629</font></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>