Hello,
With lftp-4.0.0 (and the 3.x beta versions w/torrent support) lockup if
you try to mirror several directories at the same time. The lftp program
is responsive, but all of the mirrors that you run, just sit waiting for
response forever:
Each of the jobs:
Getting directory contents (0) [Waiting for response...]
Getting directory contents (0) [Waiting for response...]
Getting directory contents (0) [Waiting for response...]
With lftp-3.7.15, it does not suffer from this problem.
Here is a strace:
bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("1.2.3.4")},
16) = 0
setsockopt(19, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
setsockopt(19, SOL_IP, IP_TOS, [8], 4) = 0
getsockname(5, {sa_family=AF_INET, sin_port=htons(44264),
sin_addr=inet_addr("1.2.3.4")}, [103079215120]) = 0
bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("1.2.3.4")},
16) = -1 EINVAL (Invalid argument)
bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("1.2.3.4")},
16) = -1 EINVAL (Invalid argument)
bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("1.2.3.4")},
16) = -1 EINVAL (Invalid argument)
bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("1.2.3.4")},
16) = -1 EINVAL (Invalid argument)
bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("1.2.3.4")},
16) = -1 EINVAL (Invalid argument)
bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("1.2.3.4")},
16) = -1 EINVAL (Invalid argument)
bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("1.2.3.4")},
16) = -1 EINVAL (Invalid argument)
bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("1.2.3.4")},
16) = -1 EINVAL (Invalid argument)
bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("1.2.3.4")},
16) = -1 EINVAL (Invalid argument)
setsockopt(19, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("1.2.3.4")},
16) = -1 EINVAL (Invalid argument)
close(19) = 0
read(5, 0x1629020, 5) = -1 EAGAIN (Resource temporarily
unavailable)
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 19
fcntl(19, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(19, F_SETFD, FD_CLOEXEC) = 0
bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("1.2.3.4")},
16) = 0
setsockopt(19, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
setsockopt(19, SOL_IP, IP_TOS, [8], 4) = 0
getsockname(4, {sa_family=AF_INET, sin_port=htons(46812),
sin_addr=inet_addr("1.2.3.4")}, [103079215120]) = 0
bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("1.2.3.4")},
16) = -1 EINVAL (Invalid argument)
bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("1.2.3.4")},
16) = -1 EINVAL (Invalid argument)
bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("1.2.3.4")},
16) = -1 EINVAL (Invalid argument)
bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("1.2.3.4")},
16) = -1 EINVAL (Invalid argument)
bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("1.2.3.4")},
16) = -1 EINVAL (Invalid argument)
bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("1.2.3.4")},
16) = -1 EINVAL (Invalid argument)
bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("1.2.3.4")},
16) = -1 EINVAL (Invalid argument)
bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("1.2.3.4")},
16) = -1 EINVAL (Invalid argument)
bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("1.2.3.4")},
16) = -1 EINVAL (Invalid argument)
setsockopt(19, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("1.2.3.4")},
16) = -1 EINVAL (Invalid argument)
close(19) = 0
read(4, 0x1616bd0, 5) = -1 EAGAIN (Resource temporarily
unavailable)
Justin.