Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very slow web upload #2263

Open
tobson opened this issue Nov 3, 2024 · 2 comments
Open

Very slow web upload #2263

tobson opened this issue Nov 3, 2024 · 2 comments

Comments

@tobson
Copy link

tobson commented Nov 3, 2024

I'm experience the same issue as described here: https://piwigo.org/forum/viewtopic.php?id=33827

Upload via the web form is extremely slow. 35 photos for a total of 109.1 mb take about 45 minutes.

I'm using the most recent Docker image from linuxserver.io at the time of writing:

───────────────────────────────────────
Linuxserver.io version: 15.0.0-ls282
Build-date: 2024-11-02T15:33:26+00:00
───────────────────────────────────────
@raupie
Copy link

raupie commented Jan 6, 2025

Could you please provide details regarding your environment resources? Are you operating your production environment using the Docker image?

I conducted a test by uploading 30 images, each sized at 10M, and the process was quite swift in my local development environment, taking approximately 30 seconds. It is important to note that this was executed in a local Docker environment, as opposed to my non-docker environment hosted in the cloud.

for i in {1..30}; do dd if=/dev/zero of=test-$i.jpg  bs=10M  count=1; done

I suspect that the issue may lie with the host environment rather than the source code or Docker itself, given that the upload completed after 45 minutes. I would not have anticipated such a lengthy duration for an upload of this size. I performed the same test in my cloud environment, which was indeed slower, leading me to wonder if your issue is related to the local environment or the production environment hosted elsewhere, potentially involving other components such as networking that the images must traverse. For your information, I exclusively utilize the synchronization method to transfer my images, employing rsync to the environment, and I seldom, if ever, utilize the web-based uploader for bulk uploads of this nature.

@raupie
Copy link

raupie commented Jan 6, 2025

I'm curious what your ISP bandwidth upload is? Remember that 1 MB = 8 Mbit.

speedtest.net

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants