Using SCP to copy a 2 gig file

I'm using a cron job to copy a 2 gig file each night. It takes only 30 minutes to copy the file. Yet in the morning I see both computers running at 80% utilitilization and my mrtg graphs shows tons of traffic between the two boxes. If I kill the job the utilization drops as does the traffic on the mrtg graph. Sometimes the file is not even copied.
duficyAsked:
Who is Participating?
 
jlevieConnect With a Mentor Commented:
That sounds suspiciously like a bug in scp, given the size of the file. Like maybe there the code is using a 32bit counter and overflowing it with the bolock count for a 2Gb file. What happens with slightly smaller, say files in the 1.5Gb range? Also what version of Openssh is being used at each end of the connection?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.