<div dir="ltr">Hi team,<div><br></div><div>I am thinking to do horizontal scaling through dispatcher module and sharding the blacklist to 2 or 3 opensips nodes local cache.<br></div><div>or using redis for blacklist repository but local cache is even more quick. </div><div><br></div><div>Any comments or experience to share about the problem I am facing currently?<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)"><br></span></span></font></div><div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)">--<br>regards,</span></span></font></div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)"><br>abdul basit</span></span></font></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, 28 Sep 2018 at 06:10, Abdul Basit <<a href="mailto:basit.engg@gmail.com">basit.engg@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi team,</div><div><br></div><div>I have a opensips 2.4 deployed having 4 children and with mysql configured for loading user blacklist to opensips local cache on opensips startup.<br></div><div>Opensips work fine on filtering the call based on user blacklist records loaded into local cache. </div><div><br></div><div>While blacklist was growing upto 1.3m records, opensips startup was taking ~60 sec on VM of 16GB RAM and 6 CPU.<br></div><div>I increased shared memory to <b>6144</b> and package memory to <b>256.</b><br></div><div>Filter works fine here yet. Call load is not that much only blacklist entries are growing.</div><div><br></div><div>But now blacklist has grown to very huge number, up to 10m records in mysql. Opensips is not starting successfully and service startup requests timeout after huge CPU spikes while trying to populate local cache from mysql. <br></div><div>I increased shared memory to <b>12288</b> and package memory to <b>1024</b> but no success yet.</div><div><br></div><div>I indexed mysql blacklist table but no luck.</div><div><br></div><div>Please advise what settings I should add to opensips for successful startup. </div><div><br></div><div><div dir="ltr" class="m_2815879888628333912gmail_signature" data-smartmail="gmail_signature"><div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)">--<br>regards,</span></span></font></div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)"><br>abdul basit</span></span></font></div></div></div>
</blockquote></div>