[lkml]   [1999]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: rsh problem (update)
Kamran Karimi wrote:
> The problem exists in remote executions too.
> A simple script containing:
> rsh ls
> rsh ls
> rsh 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
Please read the FAQ at

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