Announcement

#1 2020-07-26 01:18:05

Tmanok
Member
2020-07-25
4

Fresh Installation - Modified PHP.ini still very slow file uploads

Good afternoon,

I'm uploading albums to Piwigo after a fairly fresh installation. 25 Photos, each between 4-10MB in size. The photos take about half an hour or more to upload the files. My network speed is 55Mbps Download and 15Mbps upload- but my photos can be sftp'd to the server in less than 2.5mins.

Piwigo version: 2.10.2
PHP version: 7.2
MySQL version:  mariadb  Ver 15.1 Distrib 10.1.44-MariaDB
OS: Ubuntu 18.04
CPU Cores: 2
RAM: 2GB
SWAP: 2GB
HDD: 200GB
Private Site, running on my Proxmox cluster.

Here are what I believe are the important PHP Settings:
file_uploads    On    On
max_execution_time    30    30
max_file_uploads    9000    9000
max_input_nesting_level    64    64
max_input_time    60    60
max_input_vars    1000    1000
memory_limit    1024M    1024M
post_max_size    100000M    100000M


Thanks for your help.

Last edited by Tmanok (2020-07-26 01:18:30)

Offline

 

#2 2021-01-26 04:24:53

MikeTheKID
Member
2016-12-30
27

Re: Fresh Installation - Modified PHP.ini still very slow file uploads

I'm searching this forum because of a similar issue. For years photo upload was fine, I could upload 50 photos in under an hour but with the recent version releases it takes a couple of minutes per photo.

Offline

 

#3 2021-01-26 05:00:02

Tmanok
Member
2020-07-25
4

Re: Fresh Installation - Modified PHP.ini still very slow file uploads

Hey Mike,

I still haven't resolved this, but I think that it could be the fact that I'm running it in a Linux Container (LXC). Apache2 seems to have issues in a debian container, but a container with a pre-built environment like Turnkey Linux or homebrew, seems to have php upload issues. There was once a driver for Debian that had an issue with its virtual NIC, but I think that I've ruled that out after uploading files to and from via sftp and seeing full gigabit locally and full 300Mbps bidirectionally on the WAN.

Thanks Mike, I'll test it some other time in a virtual machine to verify my hypothesis.

Tmanok

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact