Re: [Asterisk-Users] Broken DNS makes Asterisk whacky!

2004-01-12 Thread Alastair Maw
On 09/01/04 23:18, Matt Lawson wrote:
When DNS (or outside connection to the network, not sure which) is 
broken and you have register= lines in iax.conf, Asterisk gets whacky.

[...]

Does this sound similar to anyone else's experience?  Anyone else care 
to verfiy?  Our Asterisk version is pretty close to CVS, maybe a few 
weeks out but I didn't see any bugs listed that seemed to address this.
Yes, it does. I noticed this last week. When this happens, Asterisk 
forks lots of threads (hundreds over time), none of which die. This puts 
very high load on the box if the outage in DNS happens for a while.

Alastair
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Broken DNS makes Asterisk whacky!

2004-01-12 Thread Steve
On Monday 12 January 2004 04:13 am, Alastair Maw wrote:
 On 09/01/04 23:18, Matt Lawson wrote:
  When DNS (or outside connection to the network, not sure which) is
  broken and you have register= lines in iax.conf, Asterisk gets whacky.

Did you try using IP addresses rather than names so that you don't need DNS?
Or entering the names into hosts?

  [...]
 
  Does this sound similar to anyone else's experience?  Anyone else care
  to verfiy?  Our Asterisk version is pretty close to CVS, maybe a few
  weeks out but I didn't see any bugs listed that seemed to address this.

 Yes, it does. I noticed this last week. When this happens, Asterisk
 forks lots of threads (hundreds over time), none of which die. This puts
 very high load on the box if the outage in DNS happens for a while.

 Alastair
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
Steve

__
You actually need to constantly be alert 
 and willing to handle things, or life 
   will find a way to get you good!
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Broken DNS makes Asterisk whacky!

2004-01-09 Thread Matt Lawson
Check this out.  I recently closed a bug I had written, #495 
ExtraChannel in transfer causes crash  Now I've been able to reproduce 
it, and somewhat narrowed down the culprit.  But before I write another 
bug report, I wanted to see if anyone else had experienced the following 
(or would like to try:)

When DNS (or outside connection to the network, not sure which) is 
broken and you have register= lines in iax.conf, Asterisk gets whacky.

First of course you'll the message Host (whatever) not found at line 
(whatever) in iax2.c at startup.  It takes a long time for the lookup 
to timeout.

Later, I get some other generally bizzare behavior including:
   1. I get everyone is busy at this time from devices that aren't.
   2. The dual-redirect crash is 100% repeatable now.  One of the last 
things you see is planning to masqerade 0sd8(*( INTO  just 
before it crashes.

If you remove the register lines from iax.conf (or fix your 
DNS/Internet problem) it runs fine.

My first thought is it could be a timing issue due to the timeout taking 
so long during startup.  Looking at the IAX2 registration code, it 
doesn't immediately appear that a failed registration would wreak any 
particular havoc.

Does this sound similar to anyone else's experience?  Anyone else care 
to verfiy?  Our Asterisk version is pretty close to CVS, maybe a few 
weeks out but I didn't see any bugs listed that seemed to address this.





___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users