Better rsh with timeout option?

Jakob Østergaard jakob at unthought.net
Fri Feb 8 06:47:58 PST 2002


On Fri, Feb 08, 2002 at 07:50:04AM -0500, Jeff Layton wrote:
> Good morning,
> 
>    I've got some VERY simplistic scripts to loop over hostnames
> to execute a command on the nodes via rsh. However, there are
> times when the node responds to a ping, but you can't rsh to it
> (the node has basically swapped itself to death, but still responds
> to pings). The current rsh has no timeout option and I'm guessing
> the current timeout setting is very long (I have never bothered to
> find out what it is - I just kill the terminal window after about
> 5 minutes).
>    Does anyone know of a rsh with a timeout option? I searched
> the web pretty thoroughly and came up with zip (except for prsh
> but it is asynchronous, I want synchronous output :).

Are you sure rsh swapped itself to death ?

It's not just the default inetd "spawn limit" preventing inetd from
spawning more than a few rsh processes every minute ?

Do you run xinetd or inetd ?

-- 
................................................................
:   jakob at unthought.net   : And I see the elder races,         :
:.........................: putrid forms of man                :
:   Jakob Østergaard      : See him rise and claim the earth,  :
:        OZ9ABN           : his downfall is at hand.           :
:.........................:............{Konkhra}...............:



More information about the Beowulf mailing list