lkml.org 
[lkml]   [1999]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: rsh problem (update)
Kamran Karimi wrote:
>
> The problem exists in remote executions too.
>
> A simple script containing:
>
> rsh 10.0.0.1 ls
> rsh 10.0.0.1 ls
> rsh 10.0.0.1 ls
>
> ceases to work after 10 or 12 invocations. The error message is still
> "poll: protocol failure in circuit setup"
>
> This seems to be happening faster when the rshs are run concurrently by
> using & to start them.

This is caused by inetd. The service is being invoked so frequently
that it's tripping inetd's broken-server-detector. inetd drops a
message in /var/log/messages:

Aug 28 23:54:46 bix inetd[319]: shell/tcp server failing (looping),
service terminated

and shuts down the service.

You can restart the service by sending inetd a SIGHUP. You can increase
inetd's threshold for this service in /etc/inetd.conf:

shell stream tcp nowait.1000 root /usr/sbin/tcpd in.rshd

^^^^

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.051 / U:0.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site