Re: rsh and rcp, or ftp stalling
On Fri, May 29, 1998 at 05:14:00PM -0700, G John Lapeyre wrote:
> > I have scripts that do a lot of rcp and rsh or alot of ftp,
> > between two debian machines on a local network. Either method invariably
> > hangs after several (50-100) successful commands. For some time
> > afterwards, rsh commands are no longer possible. If I do too many ftp's ,
> > the same thing happens, however the ftp's and rsh don't interfere with one
> > another.
> > Is this some kind of security feature ?
> This is what appears in daemon.log . There doesn't appear to be
> anything in the man page or inetd.conf that addresses this.
> May 29 16:12:51 homey inetd: shell/tcp server failing (looping),
> service terminated
All that this error means is that the server has been started and died
so many times in a short period of time that it suspects something is
stuck somewhere. It's intended as a saneness feature, although I've
never seen inetd produces this particular response - init is the usual
source for me, but the error is the same.
All that I can suggest is that you use a single ftp session for
multiple files instead of spawning a new server connection for each.
Perhaps rsync is called for?
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org