[Bug]: Upload using web interface has continuous long pauses without doing anything #34781
Closed
5 of 9 tasks
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
bug
needs info
stale
Ticket or PR with no recent activity
Bug description
During the upload of big files using web interface there are continuous insanely long pauses (pauses last several minutes not just few seconds) that make large files upload insanely slow.
Searching among forum some people suggested in similar cases that this is due chunks processing time, but I have carefully checked running processes and resources usage on the server to try to understand where is the sever bottleneck that cause these long pauses during upload but with my surprise CPU and disk usage are nearly idle status, so these delays cannot be justified with "server it is busy processing chunks" because this is not the case and server resources are blatantly unused while Nextcloud upload "sleep" in these pauses.
The problem isn't client side because if I try exactly the same upload with a different cloud provider e.g. OneDrive or Google Drive , it goes smooth without any of these weird pauses.
I use Cloudflare and my plan has a limit of 100MB max for each upload request but max chunk size is 100000000 byte so this shouldn't be a problem.
The cyclicality of the pauses suggests this is related with the chunks (the pauses happens at every 95.4MB uploaded with my chunk size set to 100000000 byte), but in any case, it is a bug because there isn't any resource limit or overuse that could justify these pauses.
Nextcloud version 25
Steps to reproduce
Expected behavior
Smooth upload without significant pauses.
Installation method
Community Manual installation with Archive
Operating system
Debian/Ubuntu
PHP engine version
PHP 7.4
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
No response
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: