Solved

Using SCP to copy a 2 gig file

Posted on 2001-07-31
1
211 Views
Last Modified: 2010-03-18
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.
0
Comment
Question by:duficy
1 Comment
 
LVL 40

Accepted Solution

by:
jlevie earned 100 total points
ID: 6337475
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

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question