Re: Problems in network code..

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 19 Aug 1997 22:58:56 +0100 (BST)


> to be as is now?? The mirror script is the standard mirror utility available
> and if there are a lot of files to be mirrored across, it breaks saying
> "bind ... address already in use". Netstat shows a ftp connection in
> close_wait state. Is there any way to workaround this or has this already
> been done. I have tested it on 2.0.28 and 2.0.30, and it breaks on both.

Its probably running out of sockets. Perhaps mirror should wait for 2 minutes
when this occurs. Better yet use rsync or passive ftp.

Alternatively you can tweak the kernel to use a wider range of sockets for
automatic binding. That just defers a fundamental tcp problem further