Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
[parent not found: <199709111243.OAA01208@zebara.axis.se>]
* Re: Slow Rlogin
@ 1997-09-11 12:43 Ronny Ranerup
  0 siblings, 0 replies; 8+ messages in thread
From: Ronny Ranerup @ 1997-09-11 12:43 UTC (permalink / raw)


Tom Browder:
>Harald, I tried as you suggested and got a long list
>of processes and files being manipulated, and perhaps
>someday I can decipher it all. But the strange thing
>is, the rlogin process went VERY rapidly using the
>strace command. Does that suggest something to
>anyone?

Did you login with the same uid as when you tried it without strace?
My point just being that it is important who you login as, as the files being
run in the login process may differ and most importantly they may be
on a different filesystem and/or computer.

Another thing you might try is to run 'netstat -c -t' and check if the 
login socket hangs in the CLOSE_WAIT state even longer than they do
when I login. As I mentioned in another mail there is a bug/feature/something
that hangs the login socket in that state for three seconds on some Linux 
versions I run. Your version perhaps has an even longer timeout...

/ronny@axis.com/Ronny Ranerup/Axis Communications AB/http://www.axis.com

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <19970910173523.00443@tat.physik.uni-tuebingen.de>]
[parent not found: <Pine.LNX.3.95.970909111041.3706B-100000@tomtom.asi-fwb.com>]
[parent not found: <34156B66.41C6@d2.com>]
* Re: Slow rlogin
@ 1997-09-04 12:36 Ronny Ranerup
  0 siblings, 0 replies; 8+ messages in thread
From: Ronny Ranerup @ 1997-09-04 12:36 UTC (permalink / raw)


Tom Browder scribbled:

>The 'r' commands work fine between
>the PC's and the SGI's, and fine between
>thr DEC and the SGI's, but between the
>PC's and the DEC there is a LONG time
>delay before a rlogin is accepted (and
>sometimes the connection is refused).

I have for a long time been very annoyed with the delays when rsh:ing,
so I pulled up the sleeves and tried to figure out why it takes several
seconds to send a few measly bytes over the Ethernet to log onto another box.

A lot of snooping and tcpdumping later I can only say that it takes a lot of 
tweaking in a lot of files to get acceptable delays in rlogin.

There are a many ugly things happening when you rlogin and I recommend
stracing the rsh or rlogin and turning on debugging in all relevant
daemons while snooping all packets with a good snooper (tcpdump not being 
very good, sun's snoop is better). 

I got the rsh time down to 0.2 seconds. Some RedHat boxes we have 
that aren't tweaked take over eight (8!) seconds... There are unfortunately 
problems in the kernel that mess up my nice figures. Kernels after 2.0.29
(round figures) hang the shell socket in TIME_WAIT after the first login,
and doesn't time out for three seconds on subsequent logins. The socket
leaves the TIME_WAIT state after a minute if no new connections are attempted
so then I get the nice 0.2 seconds again.

I thought it was the SYN and RST-COOKIES options in the kernal that did
this but I dont have them enabled and still get the TIME_WAIT thing.
Doesn't happen on 2.0.24. Anybody knows more about this?

Anyway, summa summarum, know your configuration. Bother your yp-server
as little as possible. For example, /etc/protocols really doesn't change 
many times in decade so a 'protocols: files' in /etc/nsswitch.conf' shouldn't
hurt you. Put the most used information at the top of the files (in /etc/),
remove comments (all the comments in my local /etc/hosts.equiv were queried at
the ypserver...). 

This perhaps doesn't help your specific problem but all you people 
out there, remember that more than 0.2-0.3 seconds means you are 
waiting too long. Tweaking time!

/ronny@axis.com/Ronny Ranerup/Axis Communications AB/http://www.axis.com

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Slow rlogin
@ 1997-09-03 19:54 Tom Browder
  0 siblings, 0 replies; 8+ messages in thread
From: Tom Browder @ 1997-09-03 19:54 UTC (permalink / raw)


I have a network composed of four architectures:

  PC Linux (RH 4.1)
  DEC Alpha Linux (RH 4.2)
  SGI IRIX .3
  SGI IRIX 6.2

The 'r' commands work fine between
the PC's and the SGI's, and fine between
thr DEC and the SGI's, but between the
PC's and the DEC there is a LONG time
delay before a rlogin is accepted (and
sometimes the connection is refused).

I have compared the pam stuff, the 'hosts' file,
the '.rhosts' files for the various users, and
can find no difference. The 'rpc' files are 
identical between the DEC and the PC's. The only
system differences I have been able to find
between the PC's and the DEC are:

1. In the '/etc/inetd.conf' file, the alpha has an additional line:

auth stream tcp nowait nobody /usr/sbin/in.identd in.identd -l -e -o

and I, so far, have found no documentation about the line.

2. The alpha has an additional file: '/etc/pwdb.conf'. Again, I
can find no documentation on the file.

If anyone can suggest an area to find the cause of the problem, I
would be grateful.

-Tom Browder

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1997-09-11 14:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.3.95.970911084121.1504E-100000@tomtom.asi-fwb.com>
1997-09-11 14:28 ` Slow Rlogin Harald Koenig
     [not found] <199709111243.OAA01208@zebara.axis.se>
1997-09-11 13:44 ` Tom Browder
1997-09-11 12:43 Ronny Ranerup
     [not found] <19970910173523.00443@tat.physik.uni-tuebingen.de>
1997-09-11 10:36 ` Tom Browder
     [not found] <Pine.LNX.3.95.970909111041.3706B-100000@tomtom.asi-fwb.com>
1997-09-10 15:35 ` Harald Koenig
     [not found] <34156B66.41C6@d2.com>
1997-09-10 10:55 ` Tom Browder
  -- strict thread matches above, loose matches on Subject: below --
1997-09-04 12:36 Slow rlogin Ronny Ranerup
1997-09-03 19:54 Tom Browder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox