Re: [asterisk-users] Asterisk very slow when internet down
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, For that I've set up a local DNS Cache (on the asterisk) - maradns. And entered 127.0.0.1 as the first DNS Server in d/etc/resolv.conf. To decrease the time asterisk is trying to do a dns lookup, I've added this options to /etc/resolv.conf: options timeout:2 attempts:1 Chris... Paul Hales schrieb: Sadly, people have reported this fairly regularly. An option is to hard-code the server and IP address in your hosts file, but this can be even worse when the provider changes the IP address of the server... later, PaulH On Thu, 2007-01-25 at 22:27 +1030, Peter Mitchell wrote: Has anyone seen this issue with asterisk running like a dog when the internet is down ? Internal calls, incoming ISDN calls etc all seem to be affected. There is a local DNS server that is always available so I’m not sure why asterisk is so unresponsive. I’ve seen this on two different systems, and on 1 of them I commented out my SIP providers in sip.conf and it ran ok again. Thanks Peter. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.410 / Virus Database: 268.17.10/651 - Release Date: 24/01/2007 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFvdhkR0exH8dhr/YRArthAJoCClafg82Xa+yJ4Mrk5c4Fx4os6QCeMRY2 8WHJK20Aac8ZdQrcM0OmHww= =lIFj -END PGP SIGNATURE- ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk very slow when internet down
Sadly, people have reported this fairly regularly. An option is to hard-code the server and IP address in your hosts file, but this can be even worse when the provider changes the IP address of the server... later, PaulH On Thu, 2007-01-25 at 22:27 +1030, Peter Mitchell wrote: Has anyone seen this issue with asterisk running like a dog when the internet is down ? Internal calls, incoming ISDN calls etc all seem to be affected. There is a local DNS server that is always available so I’m not sure why asterisk is so unresponsive. I’ve seen this on two different systems, and on 1 of them I commented out my SIP providers in sip.conf and it ran ok again. Thanks Peter. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.410 / Virus Database: 268.17.10/651 - Release Date: 24/01/2007 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Asterisk very slow when internet down
Has anyone seen this issue with asterisk running like a dog when the internet is down ? Internal calls, incoming ISDN calls etc all seem to be affected. There is a local DNS server that is always available so I’m not sure why asterisk is so unresponsive. I’ve seen this on two different systems, and on 1 of them I commented out my SIP providers in sip.conf and it ran ok again. Thanks Peter. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.410 / Virus Database: 268.17.10/651 - Release Date: 24/01/2007 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk very slow when internet down
Peter Mitchell wrote: Has anyone seen this issue with asterisk running like a dog when the internet is down ? Internal calls, incoming ISDN calls etc all seem to be affected. There is a local DNS server that is always available so I’m not sure why asterisk is so unresponsive. I’ve seen this on two different systems, and on 1 of them I commented out my SIP providers in sip.conf and it ran ok again. Thanks Peter. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.410 / Virus Database: 268.17.10/651 - Release Date: 24/01/2007 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users Check that it's not doing SRV request in sip.conf ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk very slow when internet down
On 1/25/07, Peter Mitchell [EMAIL PROTECTED] wrote: Has anyone seen this issue with asterisk running like a dog when the internet is down ? Internal calls, incoming ISDN calls etc all seem to be affected. There is a local DNS server that is always available so I'm not sure why asterisk is so unresponsive. How fast does the DNS server respond to queries made by the asterisk box? Perhaps set up a trace somewhere to discover what queries are being made and what/when the responses come back. Cheers, Steve ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users