Ente app upload very slow

Hello folks, I recently self hosted ente on my home server. And started backing up media. I primarily backup my iPhone’s photos. Today I am observing a weird issue with my ios ente App : I just started backup of an album which contains ~1000 photos. The backup is super slow. I have noticed that the app is backing up data in batch of 4. (i can see it in “backup status section) This has not been the case in past. Whenever i backup an album on ente, it starts uploading all the photos. I am wondering whether some rate limiting on server side or client side is causing this. Has anyone observed such issue with ente photos ?
27 Replies
Ducky
Ducky5mo ago
Remember to use /solved to mark your thread as solved once your question is answered.
sfrhel6
sfrhel6OP5mo ago
Hello folks can someone help me debug this ? Will it be helpful if I attach app logs ? @Staff
vishnu
vishnu5mo ago
There is no rate limiting on server or client This is likely a network related issue
sfrhel6
sfrhel6OP5mo ago
@vishnu thanks for responding. I have observed that the app consistently backups only 4 pictures at a time. I observed same behaviour on 2 different iphones.
Ducky
Ducky5mo ago
-# If your issue is resolved, you can use the /solved command to close the thread. If not, use /unsolve to cancel.
vishnu
vishnu5mo ago
Yes, this is a limit we've in place to minimize the amount of data that's processed in parallel The limitation is on the client
sfrhel6
sfrhel6OP4mo ago
@vishnu is this limit introduced in latest app version? This wasn’t there before ? I upgraded the app few days back. Since then i am observing this throttle. Due to this throttle I am observing that albums with huge number of photos are take many days to get backed up.
Brogio
Brogio4mo ago
The limit has always been there so that isn't the problem
sfrhel6
sfrhel6OP4mo ago
@Brogio i see. The observation is: 1. The app when opened , syncs 4 photos. And then doesn’t sync next 4 until few minutes. 2. Due to the above behaviour, it takes quite a lot of time to backup big albums. I remember when the app used to continuously sync photos when kept in foreground. This behaviour has changed after recent upgrade.
sfrhel6
sfrhel6OP4mo ago
sfrhel6
sfrhel6OP4mo ago
e.g. in above screen recording, it saves 4 photos & exits.
Brogio
Brogio4mo ago
AFAIK, 4 photos uploading parallel has always been a thing. They did change background upload logic and enabled resumabel uploads for everyond Yeah that definitely isn't normal, I assume a lot changed regarding uploads on iOS in the latest release Someone from the team can look into it, it might be affecting more iOS users that dont selfhost
sfrhel6
sfrhel6OP4mo ago
Thanks a lot @Brogio . Hopefully someone from team takes a look at this. For ios users there isn’t a way to go back to older (n - 1) version. 🥲
Brogio
Brogio4mo ago
https://github.com/ente-io/ente/pull/5442 Might be related to this, haven't looked into it. Should be unrelated though since it's for background uploads. Not sure what other change could've caused this
GitHub
[mob] improve background processing by prateekmedia · Pull Request...
Description Use workmanager on android and iOS. Tests
Brogio
Brogio4mo ago
Also please don't ping Staff
sfrhel6
sfrhel6OP4mo ago
Thanks for reference . My bad for tagging staff.
Neeraj
Neeraj4mo ago
can you share logs mentioning this discord thread
sfrhel6
sfrhel6OP4mo ago
@Neeraj shall I collect the apps logs ? Support -> Report Bug -> Export logs ? And share them here ? Or some different way to collect logs.
Neeraj
Neeraj4mo ago
You can either dm me or send it to support@ente.io @sfrhel6 Can you confirm if Backup -> Back up Settings -> Resumable upload is turned for you?
sfrhel6
sfrhel6OP4mo ago
Its switched off.
No description
sfrhel6
sfrhel6OP4mo ago
I will send the logs shortly. I was not in network. Also, I connected a android phone to the server, and it worked as before i.e. without the throttling. It backed up 3000+ pictures in an hour
Brogio
Brogio4mo ago
Wait so it didn't happen when using Ente's instance, if so it'd might be a config issue somewhere
Neeraj
Neeraj4mo ago
Can you turn it on and confirm if you are still seeing old behaviour?
sfrhel6
sfrhel6OP4mo ago
Hey. Its working now ! Its working as before. Thanks a bunch ! Was resumable upload added in latest release?
Neeraj
Neeraj4mo ago
There is some regression when resumable upload is disabled. We recently enabled it for all by default (unless you had turned it off manually). Should be fixed in the next build. Thank you for the help in debugging this.
Ducky
Ducky4mo ago
Thread marked as solved. It will be closed in <t:1752222256:R>. This thread is now closed.
Brogio
Brogio4mo ago
GitHub
[mob] Fix throttling when multipart is disabled by ua741 · Pull Re...
Description _shouldThrottleSync logic was changed to return True when multiPart was disabled. This resulted in incorrect throttling when user had disabled multipart and app was in fg. Tests

Did you find this page helpful?