Use rclone move command to move files from google drive to onedrive. But it stopped wtih message "Killed".
It often occured transfering big files.
I saw the hard disk reading is high.
I don’t know what happened, only get “killed” message. Please guide me how to resolve it, thanks.
Run the command 'rclone version' and share the full output of the command.
rclone v1.58.0
os/version: centos 7.9.2009 (64 bit)
os/kernel: 3.10.0-1160.59.1.el7.x86_64 (x86_64)
os/type: linux
os/arch: amd64
go/version: go1.17.8
go/linking: static
go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Google Drive and OnveDrive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone move gd:movies od:movies -vv
The rclone config contents with secrets removed.
Current remotes:
Name Type
==== ====
gd drive
od onedrive
Thank @Animosity022 and @ncw
I saw the log of machine, the root cause is out of memory then kernel kill process of rclone. Please see the following log.
Apr 7 00:05:43 instance-1 kernel: Out of memory: Kill process 25106 (rclone) score 174 or sacrifice child
Apr 7 00:05:43 instance-1 kernel: Killed process 25106 (rclone), UID 1000, total-vm:832112kB, anon-rss:103904kB, file-rss:0kB, shmem-rss:0kB
Thanks for your suggestion.
This machine is a free VM(virtual machine) in Google Cloud Platform.
If I would like to add more memory, I have to pay the money to upgrade the VM.
At this moment, I have no plan to upgrade it.
I suggest you rethink your whole plan here. First, the google free tier VMs have 1GB memory, I've never run into problems using them even with multiple rclone jobs running. I usually don't even need to include --use-mmap anymore.
You mention that you're using free tier and you don't want to pay money. The fact that you're using a GCC instance to move data from google drive to onedrive, you're already paying for egress over the first gig you transfer. So if you're paying anyway and this is an important move, you should upgrade the box to be able to handle it.
If you intend to transfer everything for free, you can't use GCC at all for transferring gdrive --> onedrive.
I assume that since you're copying a folder called "movies" that it isn't small.
Want free? Use your home connection or bum off a friend. There are also cheap VPS providers out there. I used to use VPSCheap years ago. At the time it was $20/yr for a box with unlimited bandwidth at 1Gib/s speeds or so. Not sure what they offer now or if they're still around, but you could try that or similar if you want cheap.
I suggest you rethink your whole plan here. First, the google free tier VMs have 1GB memory, I've never run into problems using them even with multiple rclone jobs running. I usually don't even need to include --use-mmap anymore.
Great! You resolve my another question.
I will rethink my plan and check GCP again.
Be very careful as I mistakenly moved data to dropbox and had quite a bill.
I ended up getting it cancelled but almost paid $2k for moving data as the billing doesn't show up right away and you'll most likely get a very large surprise if you aren't sure what the egress out costs per GB..