🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #326

Re: NNTP woes. Please help!!!!!!!!!!!!!!!!!! (SunOS 4.0.3)

#326
From: Mikel Lechner
Date: Fri, 27 Oct 1989 08:44
35 lines
1993 bytes
fmbutt@cloud9.Stratus.COM (Farooq Butt) writes:

  >Help!!!! 

  >     [...] Clients
  >     on my network wishing to run "rn" have to wait about 1.3
  >     minutes before nntpd running on our server will start
  >     dealing with them.

  >     After much tracing, I saw that nntpd was spending about a
  >     minute in the routine "host_access" in "access.c," after
  >     which it would let me read, write or transfer files (my
  >     access-file has the default being that everyone can
  >     read/write/xfer and NO other rules).  After the first 1.3
  >     minute glitch, things would continue as normal (i.e.
  >     articles came over as fast as I could handle).  If I

	[...]

  >     the time is being spent in is the gethostbyaddr call (I

Oh yes.  I remember this problem.  I had these same symptoms with
NNTP 1.5.6 when I installed it about 2 months ago.  The time delay
IS caused by the gethostbyaddr call.  It is attempting to contact
the nameserver network service.  You are apparently not running
the nameserver (neither do I).

The fix is to remove "-lresolv" from the "LIBS=" line in the makefile
for the NNTP server.  This needs to be mentioned in the documention,
for those sites which don't run the nameserver.

-- 
Mikel Lechner			UUCP:  mikel@teraida.UUCP
Teradyne EDA, Inc.
Technical Details
Message-ID: <12405@teraida.UUCP>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!rex!ames!vsi1!teraida!mikel
References: <32166@ucbvax.BERKELEY.EDU> <8974@cloud9.Stratus.COM>

Show Full Headers
Complete Article Headers
Message-ID: <12405@teraida.UUCP>
Subject: Re: NNTP woes. Please help!!!!!!!!!!!!!!!!!! (SunOS 4.0.3)
Date: Fri, 27 Oct 1989 08:44:48 +0000
From: mikel@teraida.UUCP (Mikel Lechner)
References: <32166@ucbvax.BERKELEY.EDU> <8974@cloud9.Stratus.COM>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!rex!ames!vsi1!teraida!mikel
Newsgroups: news.software.nntp,news.sysadmin
Organization: Teradyne EDA Inc., Santa Clara, Calif.
Lines: 34