[CentOS] Fail Transfer of Large Files

Timo Schoeler timo.schoeler at riscworks.net
Sat Nov 20 17:38:44 UTC 2010


On 11/20/2010 06:35 PM, Les Mikesell wrote:
> On 11/19/10 3:16 PM, Michael D. Berger wrote:
>> On my intranet, I sometimes transfer large files, about 4G,
>> to an CentOS old box that I use for a web server.  I transfer
>> with ftp or sftp.  Usually, before the file is complete, the
>> transfer "stalls".  At that point, ping from the destination box
>> to the router fails.  I then deactivate the net interface on the
>> destination box and then activate it.  Ping is then successful,
>> and the transfer is completed.  The transferred file is correct,
>> as verified with sha1sum.
>>
>> All connections are via cat6 wire.
>>
>> So what do you think?  Should I try changing the net card?
>> Any tests to run? Any other suggestions?
>
> I haven't seen anything like that, at least in many years so it probably is
> hardware related - but make sure your software is up to date.  As a workaround,
> you might try using rsync with the --bwlimit option to limit the speed of the
> transfer - and the -P option so you can restart a failed transfer from the point
> it stalled on the last attempt.

If you have a managed switch, check its counters for errors (CRC, 
giants, runts, etc) and check whether speed and duplex settings are 
appropriate for all machines connected.

You should also check whether all devices involved are able to handle 
the MTU you use. I had a similar issue recently with Cisco gear that 
wouldn't play with the MTUs I had set on some of my machines.

Cheers,

Timo



More information about the CentOS mailing list