<div><br></div><div dir="auto">It really depends on your application but I suspect that 200 is overkill. What CPS are you running? What else is this server doing besides OpenSIPS? Is your db on the same server? How fast are those queries returning? The server is spinning doing something. How’s your disk IO look? I’ve seen very high rate of logging so this. If you remove traffic, does load go back to 0? </div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Tue, May 18, 2021 at 6:10 PM Julio Carranza <<a href="mailto:ti.jcarranza@gmail.com">ti.jcarranza@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr">Im using "OpenSIPS (3.1.1 (x86_64/linux))" on a server with:<div>128GB on RAM</div><div>2x Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz (32 cores)<br></div><div><br></div><div>Basically is a redirect server with some logic configured, using mysql only to load configuration and redis to store some data, but with 32 workers configured i receive this messages on cli:<br></div><div><br>    Process 24 load: 100%, 99%, 99% (SIP receiver udp:XX.79.X.XX:5060)<br>    Process 25 load: 100%, 99%, 99% (SIP receiver udp:XX.79.X.XX:5060)<br>    Process 26 load: 100%, 99%, 99% (SIP receiver udp:XX.79.X.XX:5060)<br><br>    WARNING: the receive queue is NOT empty, SIP signaling may be slower!<br>    CRITICAL: 100% avg. currently used worker capacity!!<br><br>    Suggestion: see the DNS/SQL/NoSQL diagnosis for any slow query<br>                reports, otherwise increase 'use_workers' or 'udp_workers'!<br></div><div><br></div><div>But when i see <b>htop</b> information the server is using few resources less than 2.0 of load average.</div><div><br></div><div>As a first solution I already increased the number of workers to 200 but the question is, how to know how many workers can I configure or which is the best practice for this.  (how is a worker internal behavior)</div><div><br></div><div>I couldn't find deep information of this on documentation</div><div><br></div><div><br></div><div>thanks in advance</div></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">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-bin/mailman/listinfo/users</a><br>
</blockquote></div></div>