You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@IMDb.Com> on 1996/03/28 18:07:32 UTC

WWW Form Bug Report: "httpd doing gethostbyname type thing on itself every few seconds" on BSDI (fwd)

Not acked. Sounds like something might be doing wasteful lookups...

From: buus@xor.com
To: apache-bugs%apache.org@organic.com
Date: Thu Mar 28  8:56:06 1996
Subject: WWW Form Bug Report: "httpd doing gethostbyname type thing on itself every few seconds" on BSDI

Submitter: buus@xor.com
Operating system: BSDI, version: 2.0
Extra Modules used: 
URL exhibiting problem: http://internet-plaza.net/

Symptoms:
--
I'm not sure that it's a bug, actually.  I currently have
MINIMAL_DNS turned on.  The only DNS traffic that I'm seeing
is the host look itself up every few seconds.  I've tried
to figure out where in the httpd code this could be happening.
It appears that get_local_name is really the only place.  However,
I took out the gethostbyname code there (replacing it with a
static hostname), but this behaviour continues.  When httpd
is killed, the self-lookups stop.  Here's an example of 
what I'm talking about (from debugging code with named):

datagram from [192.225.33.3].1070, fd 5, len 35; now Thu Mar 28 09:50:55 1996
req: nlookup(billygoat.xor.com) id 256 type=1
req: found 'billygoat.xor.com' as 'billygoat.xor.com' (cname=0)
ns_req: answer -> [192.225.33.3].1070 fd=5 id=1 Local

datagram from [192.225.33.3].1071, fd 5, len 35; now Thu Mar 28 09:50:55 1996
req: nlookup(billygoat.xor.com) id 512 type=1
req: found 'billygoat.xor.com' as 'billygoat.xor.com' (cname=0)
ns_req: answer -> [192.225.33.3].1071 fd=5 id=2 Local

datagram from [192.225.33.3].1072, fd 5, len 35; now Thu Mar 28 09:50:55 1996
req: nlookup(billygoat.xor.com) id 768 type=1
req: found 'billygoat.xor.com' as 'billygoat.xor.com' (cname=0)
ns_req: answer -> [192.225.33.3].1072 fd=5 id=3 Local

Please let me know if you have any ideas, or if you don't know
what this might be.  I'm using virtual hosts, if that makes a 
difference.

Thanks,

Bryan
--

Backtrace:
--

--
----- End of forwarded message from buus@xor.com -----

-- 
Rob Hartill (robh@imdb.com)
The Internet Movie Database (IMDb)  http://www.imdb.com/
           ...more movie info than you can poke a stick at.