<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt"><div><span><font class="Apple-style-span" size="2"><div>Thank you for you help and hint.</div><div>Indeed domain name was the problem and culprit for the delays. When I replace the domains with IP, it just took around 1 sec to reload gateways. In our case we cant get rid of domain names so this is what we did to improve the timings.</div><div>So any time before executing fifo dr_reload we do nslookup on the domains in the table. That does DNS caching on our local system. That cache help opensip to reload gateways in 2-20 seconds. While nslookup itself takes anywhere between 30 sec to 3 minutes. So on average now dr relaod takes anywhere between 30sec (Best case) to 3 min (worst case). Much better that 8-10 minutes.</div><div><br></div><div>Again thank you for you help for checking the typos and reread it.</div><div><br></div><div
style="color: rgb(0, 0, 0); font-size: 13px; font-family: verdana, helvetica, sans-serif; background-color: transparent; font-style: normal; ">Regards</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: verdana, helvetica, sans-serif; background-color: transparent; font-style: normal; ">Darin</div></font></span></div><div style="font-family: verdana, helvetica, sans-serif; font-size: 10pt; "><br></div> <div style="font-size: 10pt; font-family: verdana, helvetica, sans-serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Bogdan-Andrei Iancu <bogdan@opensips.org><br> <b><span style="font-weight: bold;">To:</span></b> darin vivekanadan <adariniv@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> OpenSIPS users mailling list <users@lists.opensips.org>
<br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, 26 March 2013 2:25 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [OpenSIPS-Users] opensips taking too much time to load<br> </font> </div> <br><div id="yiv46350970">
<div>
<tt>15K prefixes is not really big deal - so try only with the IP
gws and check the results.<br>
<br>
The transactions stats have nothing to do with the number of
parallel calls and it seems you have only 5 transactions in mem -
the UAS_transactions is a counter (not a real time value) so it
gives you have many transactions you had from the opensips start.<br>
<br>
Regards,<br>
</tt>
<pre class="yiv46350970moz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a rel="nofollow" class="yiv46350970moz-txt-link-freetext" target="_blank" href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a></pre>
<br>
On 03/25/2013 09:24 PM, darin vivekanadan wrote:
<blockquote type="cite">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10pt; font-family: verdana, helvetica, sans-serif; ">
<div><span><span class="yiv46350970Apple-style-span" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; ">
<div><span style="display:block;padding-left:6em;"><span>We
can try that. Also did not mention that we have
around 15K entries in dr_rules routing to those 5K
Gateways.<br>
Another though will be, Is it possible having too
many active call slow it down? Cause my transaction
stats looks like this.<br>
<br>
Transaction Statistics:<br>
tm:UAS_transactions = 3328482<br>
tm:UAC_transactions = 0<br>
tm:inuse_transactions = 35 /Sec</span></span></div>
<div><span style="display:block;float:left;
color:rgb(136, 136, 136);"> </span><span style="
display:block;padding-left:6em;"><span><span dir="ltr" style="font-weight:bold;">me</span>: ok i will
post</span></span></div>
</span></span></div>
<div><br>
</div>
<div style="font-size: 10pt; font-family: verdana, helvetica, sans-serif; ">
<div style="font-size:12pt;font-family:'times new
roman', 'new york', times, serif;">
<div dir="ltr"> <font face="Arial" size="2">
<hr size="1"> <b><span style="font-weight:bold;">From:</span></b>
Bogdan-Andrei Iancu <a rel="nofollow" class="yiv46350970moz-txt-link-rfc2396E" ymailto="mailto:bogdan@opensips.org" target="_blank" href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a><br>
<b><span style="font-weight:bold;">To:</span></b> darin
vivekanadan <a rel="nofollow" class="yiv46350970moz-txt-link-rfc2396E" ymailto="mailto:adariniv@yahoo.com" target="_blank" href="mailto:adariniv@yahoo.com"><adariniv@yahoo.com></a> <br>
<b><span style="font-weight:bold;">Cc:</span></b>
OpenSIPS users mailling list
<a rel="nofollow" class="yiv46350970moz-txt-link-rfc2396E" ymailto="mailto:users@lists.opensips.org" target="_blank" href="mailto:users@lists.opensips.org"><users@lists.opensips.org></a> <br>
<b><span style="font-weight:bold;">Sent:</span></b>
Monday, 25 March 2013 6:31 PM<br>
<b><span style="font-weight:bold;">Subject:</span></b>
Re: [OpenSIPS-Users] opensips taking too much time to
load<br>
</font> </div>
<br>
<div id="yiv46350970">
<div> <tt>Hi Darin,<br>
<br>
5K should be not a problem at all (matter of less 1
sec). Delays in loading may be from the FQDN which
have to DNS resolved at load time - depending on the
DNS response time, this may take some time.<br>
<br>
Try to keep IPs only in DB and do the reload again -
see what is the reload time.<br>
<br>
Regards,<br>
</tt>
<pre class="yiv46350970moz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a rel="nofollow" class="yiv46350970moz-txt-link-freetext" target="_blank" href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a></pre>
<br>
On 03/22/2013 05:59 PM, darin vivekanadan wrote:
<blockquote type="cite">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10pt; font-family: verdana, helvetica, sans-serif; ">
<div><span><span class="yiv46350970Apple-style-span" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; ">
<div dir="ltr" class="yiv46350970kl" style="margin-bottom:0.2em;
text-align:left;">In gateways table we have around 5000
addresses</div>
<div dir="ltr" class="yiv46350970kl" style="margin-bottom:0.2em;
text-align:left;">95% IP and 5 % FQDN.</div>
<div dir="ltr" class="yiv46350970kl" style="margin-bottom:0.2em;
text-align:left;"><br>
</div>
<div dir="ltr" class="yiv46350970kl" style="margin-bottom:0.2em;
text-align:left;"><br>
</div>
<div dir="ltr" class="yiv46350970kl" style="margin-bottom:0.2em;
text-align:left;">Regards</div>
<div dir="ltr" class="yiv46350970kl" style="margin-bottom:0.2em;
text-align:left;">Darin</div>
</span></span></div>
<div><br>
</div>
<div style="font-size: 10pt; font-family: verdana, helvetica, sans-serif; ">
<div style="font-size:12pt;">
<div dir="ltr"> <font face="Arial" size="2">
<hr size="1"> <b><span style="
font-weight:bold;">From:</span></b> Bogdan-Andrei
Iancu <a rel="nofollow" class="yiv46350970moz-txt-link-rfc2396E" ymailto="mailto:bogdan@opensips.org" target="_blank" href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a><br>
<b><span style="font-weight:bold;">To:</span></b>
darin vivekanadan <a rel="nofollow" class="yiv46350970moz-txt-link-rfc2396E" ymailto="mailto:adariniv@yahoo.com" target="_blank" href="mailto:adariniv@yahoo.com"><adariniv@yahoo.com></a>;
OpenSIPS users mailling list <a rel="nofollow" class="yiv46350970moz-txt-link-rfc2396E" ymailto="mailto:users@lists.opensips.org" target="_blank" href="mailto:users@lists.opensips.org"><users@lists.opensips.org></a>
<br>
<b><span style="font-weight:bold;">Sent:</span></b>
Wednesday, 20 March 2013 6:50 PM<br>
<b><span style="font-weight:bold;">Subject:</span></b>
Re: [OpenSIPS-Users] opensips taking too
much time to load<br>
</font> </div>
<br>
<div id="yiv46350970">
<div> <tt>Hi Darin,<br>
<br>
Asking once is enough - accept annoying
people, you do not get anything more by
posting same question 3 times in a row.<br>
<br>
Now, about DR - in dr_gateways, do you
have IPs or FQDN names ?<br>
<br>
Regards,<br>
</tt>
<pre class="yiv46350970moz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a rel="nofollow" class="yiv46350970moz-txt-link-freetext" target="_blank" href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a></pre>
<br>
On 03/20/2013 10:29 AM, darin vivekanadan
wrote:
<blockquote type="cite">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10pt; font-family: verdana, helvetica, sans-serif; ">
<div><span class="yiv46350970Apple-style-span" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; ">I
tried to reload opensips and its
taking 10 min to reload the drouting
tables. we tried updating the
versions and still no luck
<div><br>
</div>
<div><span style="color: rgb(34, 34, 34); font-size: 13px; font-family: arial, sans-serif; ">
<div style="margin-left:1em;">
<div style="
margin-bottom:0.2em;"> <span dir="ltr">tm:inuse_transactions
= 52</span></div>
</div>
<div style="margin-left:1em;">
<div style="
margin-bottom:0.2em;"><span dir="ltr">We
use 4Gb</span></div>
<div dir="ltr" style="margin-bottom:0.2em;text-align:left;">/usr/local/opensip/sbin/
opensip</div>
</div>
</span><span style="color: rgb(34, 34, 34); font-size: 13px; font-family: arial, sans-serif; ">
<div style="margin-left:1em;">
<div dir="ltr" style="margin-bottom:0.2em;text-align:left;">sip/etc/opensips/opensips.cfg</div>
<div dir="ltr" style="margin-bottom:0.2em;text-align:left;">Same with
6 GB</div>
</div>
<div style="margin-left:1em;">
<div style="
margin-bottom:0.2em;"><span dir="ltr"> version
opensips-1.5.3-notls/</span></div>
</div>
<div style="margin-left:1em;">
<div style="
margin-bottom:0.2em;"> <span title="jprangi@gmail.com" style="font-weight:bold;"> </span> <span dir="ltr">Drouting</span></div>
<div dir="ltr" style="margin-bottom:0.2em;text-align:left;">Revision
$Revision: 5983 $ $Date:
2009-07-16 13:54:3</div>
</div>
</span><span style="color: rgb(34, 34, 34); font-size: 13px; font-family: arial, sans-serif; ">Revision
$Revision: 5983 $ $Date:
2009-07-16 13:54:34 +0300<br>
(Thu, 16 Jul 2009) $</span></div>
<div><span style="color: rgb(34, 34, 34); font-size: 13px; font-family: arial, sans-serif; "><br>
</span></div>
<div><span style="color: rgb(34, 34, 34); font-size: 13px; font-family: arial, sans-serif; "><br>
</span></div>
<div><span style="color: rgb(34, 34, 34); font-size: 13px; font-family: arial, sans-serif; ">Please
give some suggessions to fix
this</span></div>
</span></div>
</div>
<pre><fieldset class="yiv46350970mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a rel="nofollow" class="yiv46350970moz-txt-link-abbreviated" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a rel="nofollow" class="yiv46350970moz-txt-link-freetext" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</div>
</div>
<br>
<br>
</div>
</div>
</div>
</blockquote>
</div>
</div>
<br>
<br>
</div>
</div>
</div>
</blockquote>
</div>
</div><br><br> </div> </div> </div></body></html>