Thank you for you help and hint.
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.
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.

Again thank you for you help for checking the typos and reread it.

Regards
Darin


________________________________
 From: Bogdan-Andrei Iancu <[email protected]>
To: darin vivekanadan <[email protected]> 
Cc: OpenSIPS users mailling list <[email protected]> 
Sent: Tuesday, 26 March 2013 2:25 PM
Subject: Re: [OpenSIPS-Users] opensips taking too much time to load
 

15K prefixes is not really big deal - so try only with the IP gws and check the 
results.

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.

Regards,
 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer http://www.opensips-solutions.com
On 03/25/2013 09:24 PM, darin vivekanadan wrote: 
We can try that. Also did not mention that we have around 15K entries in 
dr_rules routing to those 5K Gateways.
>Another though will be, Is it possible having too
                    many active call slow it down? Cause my transaction
                    stats looks like this.
>
>Transaction Statistics:
>tm:UAS_transactions = 3328482
>tm:UAC_transactions = 0
>tm:inuse_transactions = 35 /Sec
> 
>me: ok i will post
>
>
>
>________________________________
> From: Bogdan-Andrei Iancu <[email protected]>
>To: darin vivekanadan <[email protected]> 
>Cc: OpenSIPS users mailling list <[email protected]> 
>Sent: Monday, 25 March 2013 6:31 PM
>Subject: Re: [OpenSIPS-Users] opensips taking too much time to load
> 
>
>Hi Darin,
>
>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.
>
>Try to keep IPs only in DB and do the reload again -
                  see what is the reload time.
>
>Regards,
> 
>Bogdan-Andrei Iancu
OpenSIPS Founder and Developer http://www.opensips-solutions.com
>On 03/22/2013 05:59 PM, darin vivekanadan wrote: 
>In gateways table we have around 5000 addresses
>>95% IP and 5 % FQDN.
>>
>>
>>
>>
>>Regards
>>Darin
>>
>>
>>
>>________________________________
>> From: Bogdan-Andrei Iancu <[email protected]>
>>To: darin vivekanadan <[email protected]>; OpenSIPS users mailling list 
>><[email protected]> 
>>Sent: Wednesday, 20 March 2013 6:50 PM
>>Subject: Re: [OpenSIPS-Users] opensips taking too much time to load
>> 
>>
>>Hi Darin,
>>
>>Asking once is enough - accept annoying
                              people, you do not get anything more by
                              posting same question 3 times in a row.
>>
>>Now, about DR - in dr_gateways, do you
                              have IPs or FQDN names ?
>>
>>Regards,
>> 
>>Bogdan-Andrei Iancu
OpenSIPS Founder and Developer http://www.opensips-solutions.com
>>On 03/20/2013 10:29 AM, darin vivekanadan
                            wrote: 
>>I tried to reload opensips and its taking 10 min to reload the drouting 
>>tables. we tried updating the versions and still no luck 
>>>
>>>
>>> tm:inuse_transactions = 52
>>>We use 4Gb
>>>/usr/local/opensip/sbin/ opensipsip/etc/opensips/opensips.cfg
>>>Same with 6 GB
>>> version opensips-1.5.3-notls/
>>>   Drouting
>>>Revision $Revision: 5983 $ $Date: 2009-07-16 13:54:3Revision $Revision: 5983 
>>>$ $Date: 2009-07-16 13:54:34 +0300
>>>   (Thu, 16 Jul 2009) $
>>>
>>>
>>>
>>>
>>>Please give some suggessions to fix this
>>>
_______________________________________________
Users mailing list [email protected] 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users 
>>
>>
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to