From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,98f520a49a665426 X-Google-Attributes: gid111c93,public From: Bruce Allen Subject: Re: why is rsh so slow the second time? Date: 1998/05/26 Message-ID: <356AE1AC.39E62DA@dirac.phys.uwm.edu>#1/1 X-Deja-AN: 356653582 Content-Transfer-Encoding: 7bit References: <3569F061.B026714A@dirac.phys.uwm.edu> <6kdq4b$aeq@raf30.iiic.ethz.ch> To: Christoph Nadig Content-Type: text/plain; charset=us-ascii Organization: University of Wisconsin - Milwaukee, Physics Department Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha Christoph Nadig wrote: > Bruce Allen wrote: > > >If we do rsh from machine A to machine B, the response is instantaneous > >If (right away) we do another rsh from machine A to machine B, there is > >a ten-second pause before any response! > > I observed this as well. In my case, it was a problem of the DNS installed > on machine B (no reverse lookups possible). After correcting this, > everything works normally. Chris, thanks for the advice. I'll look into this. I'm a bit puzzled though, because machine B is on a private subnet, and has DNS disabled (it's only using /etc/hosts). So, machine B has a complete /etc/hosts file listing all machines that will ever contact it. machine B has NO /etc/resolv.conf file machine B has /etc/host.conf reading: order hosts multi on so I have deliberately turned off any DNS services. Is this what is causing my slow response? I am not very informed about networking so I may be asking something stupid or obvious! Cheers, Bruce Allen