Here is a peculiar thing which is slowing down life on our beowulf...
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!
This is not because machine B is loaded, or for any other obvious reason.
If we wait more than about 60 seconds, the response to rsh is instantaneous again.
So -- my question. When machine B gets the rsh request, it starts
/usr/sbin/in.rshd
which then deals with the request. My theory is that in.rshd
sticks around for a little while after
the first rsh command is over, and that this is the cause for the delay.
My theory is that starting
rsh after a quiescent period starts a new copy of in.rshd and that
this copy responds quickly, but that
starting rsh after just finishing another rsh makes use of the old
in.rshd, and that it responds slowly.
From watching the networking switches light up, the second (slow) rsh
request gets to machine B right
away, but machine B does not respond right away.
Or perhaps this is related to the PAM authentication...
Authorization is coming from /etc/hosts.equiv. Relevant file
snippets below.
Could anyone comment? I would like to read the source code for
in.rshd but don't know where to
find it -- any suggesstions where to find the source code?
Comments / opinions / random thoughts cheerfully welcomed!
Thanks!
Bruce Allen
shell stream tcp nowait
root /usr/sbin/tcpd in.rshd