Long delays with any Mega operation

What is the problem you are having with rclone?

With any interaction with Mega, e.g. "about", "ls", "touch", there is a very long delay, roughly 90 seconds, before the command executes. Commands execute successfully and without any actionable warnings or errors; there is just a very long wait. This may be expected behavior but I didn't find similar reports when searching and didn't see any performance warnings of this type in the documentation.

There is no noticeable performance-related behavior. That is, there is nothing unusual happening with CPU, memory, storage, or network during these delays. I was running but have shut down the MEGAsync client while diagnosing. Currently, rclone is the only thing attempting to interact with the account. rclone mount is currently not running, so no background traffic from that, either. There has not been significant recent activity, so I shouldn't be running into any sort of throttling.

Run the command 'rclone version' and share the full output of the command.

rclone v1.58.1
- os/version: Microsoft Windows 10 Pro 21H2 (64 bit)
- os/kernel: 10.0.19044.1766 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.17.9
- go/linking: dynamic
- go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)


The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone about Mega: -vv --mega-debug

But anything, really.

The rclone config contents with secrets removed.

type = mega
user =
pass =

A log from the command with the -vv flag

2022/07/03 19:00:05 DEBUG : rclone: Version "v1.58.1" starting with parameters ["c:\\programdata\\chocolatey\\lib\\rclone.portable\\tools\\rclone-v1.58.1-windows-amd64\\rclone.exe" "about" "Mega:" "-vv" "--mega-debug"]
2022/07/03 19:00:05 DEBUG : Creating backend with remote "Mega:"
2022/07/03 19:00:05 DEBUG : Using config file from "C:\\Users\\Owner\\AppData\\Roaming\\rclone\\rclone.conf"
2022/07/03 19:00:05 DEBUG : Mega: detected overridden config - adding "{v6fxV}" suffix to name
2022/07/03 19:01:29 DEBUG : *go-mega*: Waiting for events to be finished for 5s
2022/07/03 19:01:29 DEBUG : *go-mega*: Signalling events received
2022/07/03 19:01:29 DEBUG : *go-mega*: Events received
2022/07/03 19:01:29 DEBUG : fs cache: renaming cache item "Mega:" to be canonical "Mega{v6fxV}:"
Total:   50 GiB
Used:    13.377 GiB
Free:    36.623 GiB
2022/07/03 19:01:29 DEBUG : 7 go routines active

Note, as represented above, rclone was installed through chocolatey, if that is somehow relevant. As shown in the timestamps, the "about" request starts at 19:00:05 and finishes at 19:01:29.

Thanks for any advice rendered!

I'm guessing you have a very large number of files in your account? Rclone has to download a list of them before doing anything...

That appears to have been the issue. I will keep this in mind. Thank you for your timely reply and providing the solution.

1 Like

Its much more efficient to run an rclone mount with mega and do things to that. Or run an rclone rcd and do things with the remote control interface.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.