Xref: utzoo news.software.nntp:342 news.sysadmin:2694 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!rex!ames!vsi1!teraida!mikel From: mikel@teraida.UUCP (Mikel Lechner) Newsgroups: news.software.nntp,news.sysadmin Subject: Re: NNTP woes. Please help!!!!!!!!!!!!!!!!!! (SunOS 4.0.3) Message-ID: <12405@teraida.UUCP> Date: 27 Oct 89 08:44:48 GMT References: <32166@ucbvax.BERKELEY.EDU> <8974@cloud9.Stratus.COM> Organization: Teradyne EDA Inc., Santa Clara, Calif. Lines: 34 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.