Re: "500 Can't resolv address for"

Gisle Aas (aas@bergen.sn.no)
04 Aug 1997 17:48:58 +0200


Hans de Graaff <J.J.deGraaff@twi.tudelft.nl> writes:

> Scott Kaplan <scott@sflegal.net> writes:
> 
> > I noticed a similar intermittent problem when I was doing the intial
> > testing running Checkbot from the command line.  When I was running
> > Checkbot manually, I noticed it would run about a third of the way
> > through the site, then every link would generate the error 500.
> 
> To further clarify things, it seems that at a certain point LWP starts 
> to return a 500 error for every link, seemingly regardless of whether
> there can be resolved or not. This seems to suggest some internal
> state hangs around. I also seem to rememer the 500 errors coming very
> quickly, instead of timing out again and again as one would expect.

I have seen this with another link checker I wrote.  I suspect that it
has something to do with how (badly) perl handles signals and the fact
that we use alarm for timeouts.  Wishing I had time to do the
event-loop rewrite of lwp (and that perl had an event-loop).

-- 
Gisle Aas <aas@sn.no>