Re: scp large files error
"Operation would block" is general error message produced by perror that comes from the errno EWOULDBLOCK system error code (see the man pages for errno.h. and perror if that sounds like gibberish). I'm by no means a socket programmer, but I think it's generated by the system polling a non-blocking socket but doesn't ever see any data when it tries to read. If I had to hazard a guess, I'd say it's either a lack of resources (RAM/diskspace) or possibly an older version of ssh (older versions had a bug where the socket would throw a EWOULDBLOCK error instead of simply retrying the socket (that's a pretty old bug, so I don't think that's the case here).
You might have some luck using the 'split' command to split the large files into more manageable chunks which you can then re-assemble post-transfer. Might also have some luck tinkering with the rsync block size. It should be optimized automagically by the rsync algorithm, but it's worth a shot. Beyond that you might want to send an email to the openSSH mailing list describing the problem.
|