LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-21-2005, 10:49 PM   #1
sburns76247
LQ Newbie
 
Registered: Oct 2004
Posts: 7

Rep: Reputation: 0
scp large files error


On a large file transfer, my rsync over ssh process aborts. In the sshd
debug mode I receive: "Operation would block". In syslog it says:
sshd[13558]: fatal: Write failed: Operation would block". Smaller files
seem to work?


Any thoughts, thanks...
 
Old 03-22-2005, 05:23 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
scp does not work and gives the following error message: scp: FATAL: Executing ssh1 i akay Linux - Networking 16 09-28-2008 11:41 PM
copy files....using scp help me suguname Mandriva 2 01-26-2005 01:14 AM
copy files....using scp help me suguname Mandriva 5 01-25-2005 05:42 AM
problem sending files with scp illiniguy3043 Linux - Newbie 1 06-27-2004 10:47 AM
Error copying large files from cdrom patrickyeo Linux - Hardware 1 11-03-2002 06:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration