I'm having a bit of an issue with the FTP server on my Powerbook 17" (The first generation 1ghz G4 one) running 10.4.8, the explanation is a bit long winded but here goes.
When I download from the powerbook to another computer over my lan, the connection will quite often (around about 80% of the time I'd say) connect, authenticate, cd to the right location and send an RETR request, but the server will take a good 5-15 seconds before it will open the data connection and actually start the transfer.
Once the transfer has started it goes fine, I get the full 100mbit. But as you can imagine, when transfering hundreds of files, even if I use multiple threads, it takes an age to get them all.
Now the first odd thing about this is that it's not limited to Apples built in FTP server, I've tried installing ProFTPd and that does the same thing, which at first lead me to believe it was a PAM issue, but playing around with PAM doesn't seem to make any difference.
The second -really- odd thing, is that it only affects files the first time I download them. If I do it again, they start transfering instantly!
I've done a fair bit of googling, but the only even vaguely similar issues were related to an issue with the name resolver and IPv6 in 10.3.x, and they were apparently fixed before 10.4.x. But just to be sure I've disabled IPv6 completely and ProFTPd is running without IPv6 support.
I've also looked at the FTP client, I've tried several clients on several pcs on my network running both windows and FreeBSD, and they all produce the same problem.
The really annoying thing is that this was all working fine before I moved back to MacOS, it was all working perfectly when I had Ubuntu on there. But I missed the Apple charm, and this is the only issue I've encountered since going back to MacOS.
At this point I'm just about tearing my hair out, any help you guys and gals can come up with would be greatly appreciated.
[ps]
I've tried passive and active FTP, I'm not running firewalls on any of the machines internally, I've tried both by IP and through DNS, I've even added all the machines to each others hosts files to make sure it's not a DNS related issue. And finally looking at an Ethereal dump of a transfer, the link literally goes quiet for the duration of the delay. The client sends the RETR command then a delay happens then the powerbook sends it's "150 - Opening BINARY data connection etc." response and starts the data transfer.
When I download from the powerbook to another computer over my lan, the connection will quite often (around about 80% of the time I'd say) connect, authenticate, cd to the right location and send an RETR request, but the server will take a good 5-15 seconds before it will open the data connection and actually start the transfer.
Once the transfer has started it goes fine, I get the full 100mbit. But as you can imagine, when transfering hundreds of files, even if I use multiple threads, it takes an age to get them all.
Now the first odd thing about this is that it's not limited to Apples built in FTP server, I've tried installing ProFTPd and that does the same thing, which at first lead me to believe it was a PAM issue, but playing around with PAM doesn't seem to make any difference.
The second -really- odd thing, is that it only affects files the first time I download them. If I do it again, they start transfering instantly!
I've done a fair bit of googling, but the only even vaguely similar issues were related to an issue with the name resolver and IPv6 in 10.3.x, and they were apparently fixed before 10.4.x. But just to be sure I've disabled IPv6 completely and ProFTPd is running without IPv6 support.
I've also looked at the FTP client, I've tried several clients on several pcs on my network running both windows and FreeBSD, and they all produce the same problem.
The really annoying thing is that this was all working fine before I moved back to MacOS, it was all working perfectly when I had Ubuntu on there. But I missed the Apple charm, and this is the only issue I've encountered since going back to MacOS.
At this point I'm just about tearing my hair out, any help you guys and gals can come up with would be greatly appreciated.
[ps]
I've tried passive and active FTP, I'm not running firewalls on any of the machines internally, I've tried both by IP and through DNS, I've even added all the machines to each others hosts files to make sure it's not a DNS related issue. And finally looking at an Ethereal dump of a transfer, the link literally goes quiet for the duration of the delay. The client sends the RETR command then a delay happens then the powerbook sends it's "150 - Opening BINARY data connection etc." response and starts the data transfer.