*BSD News Article 88474


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!lucy.swin.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!newsfeeds.sol.net!feed1.news.erols.com!howland.erols.net!news.mathworks.com!fu-berlin.de!news.belwue.de!news.uni-mannheim.de!news.rhein-neckar.de!dns.phoenix-ag.de!inside.phoenix-ag.de!inside.phoenix-ag.de!maja
From: maja@inside.phoenix-ag.de (Martin Jangowski)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Slow login on POP, FTP, and Telnet
Date: 6 Feb 1997 16:09:39 +0100
Organization: Phoenix Pharmahandelsgesellschaft AG & Co
Lines: 30
Message-ID: <5dcs7j$481@inside.phoenix-ag.de>
References: <32f950a8.336626051@news>
X-Newsreader: TIN [UNIX 1.3 unoff BETA release 960626]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35098

James Webb <gt4511c@acmez.gatech.edu> wrote:
: 	Hey everyone, I have a system that's just starting out, it
: only has four current users.  It's running 2.1.6-Release on a 486DX33
: with 8MB of ram.  The logins on POP, FTP, and Telnet are all REALLY
: slow (most programs time them out).  Any idea why this could be?  I
: suspect the CPU, while my fellow "administrators" think it's the ram.
: Any ideas?  Thanks for any help.

This is usually a DNS problem. These network services try to resolve the 
IP number of the connected system into a name. If the DNS isn't correctly
configured, this takes a long time until it eventually times out. You will 
see a "connected to foo.bar" very quickly, but you won't see the server's 
prompt for some time, because it will wait for this timeout.

If you aren't using DNS, put all possible clients in your /etc/hosts
and write the following line into /etc/host.conf (and nothing else!)

hosts


This will tell the gethostbyaddr call to use the /etc/hosts file to resolve
names. 

Martin

-- 
|  Martin Jangowski  Apotheken Dienstleistungs Gesellschaft mbH  |
|                    Netze und Kommunikation                     |
|                  E-Mail:  M.Jangowski@adg.de                   |
|        Snail mail:  Pfingstweidstr. 5 68199 Mannheim           |