Hi!
I have problem only with upload speed. Download speed fine.
I use nextcloud 15
OS Debian 9
RAM 128
CPU Intel xeon silver 4114
PHP 7.0
NGINX
Mysql (mariadb)
What exactly is slow, what speed would be fine? Where do you upload to, internal HDD/ SD-card or external server/ storage?
What kind of storage is it you are uploading to, what speeds does it support (like 5400rpm external HDD via USB2.0)? Is any kind of encryption enabled for data storage (NC server-side encryption for example)?
Could you post your web server config as well? It usually contains some parameters which can be tweaked to optimize web server speed.
Hi Schmu!
I upload from web to self-hosted nextcloud (server use 4 x 1.6 TB SSD in Raid10.)
I use encryption on RAID10 (cryptsetup). Dont use nextcloud encryption
nginx config
upstream php-handler { #server 127.0.0.1:9000;
server unix:/run/php/php7.0-fpm.sock;
}
Come on, some more technical details would be very helpful.
What network connections do you have? Do you upload the file in a local area network with 100MBit/s in both directions or do you upload files from a network with low upload speeds?
164MB in 6min are about 3.6 MBit/s. This could be the upload rate of Cable internet or slower DSL connections. So this could be the max speed. Therefor I asked about the speed you expect in my first post, which wasn’t answered.
Retrieving speedtest.net configuration…
Testing from Servers.com B.V. (23.111.235.4)…
Retrieving speedtest.net server list…
Selecting best server based on ping…
Hosted by Pocos bv (Amsterdam) [1.39 km]: 6.335 ms
Testing download speed…
Download: 3645.88 Mbit/s
Testing upload speed…
Upload: 669.72 Mbit/s
check if Redis is really working for Nextcloud. You should see messages in the journal/ system logs like redis-server[759]: 759:M 23 Apr 2019 09:34:50.029 * 10 changes in 300 seconds. Saving...
watch the output of “top”/ “htop” during upload and check for CPU spikes (one core at 100% during upload?) and if DB, PHP-fpm or web server have a high load
set NC logging to Debug and see if there are any log messages during upload which indicate an issue somewhere
have a look at the system log and journal for the same
These are my ideas so far. We need to find out where exactly the bottleneck is.
Do you run an anti-virus tool which scans the files during upload?
Or is there a proxy server which scans the files passing through?
Did you try to upload files from different computers from different locations (LAN/ Internet)?
You always upload files via web browser, right? If so, is the upload speed the same with the NC desktop client?
With this big server you seem to be from a bigger company. Maybe you want to buy support from Nextcloud GmbH and ask them to optimize your server for performance regarding uploads.
So how did this end? How do Nextcloud users debug why uploads are slow after trying these steps above? I’m seeing O(10 Mbps) upload speeds for upload of an expected 1000 Mbps limit. Over a local switch.
I am new to nginx. Can you tell me how you remove http2 from nginx config? I have been having issues with my nextcloud upload speed too. I can’t get it to go over 25mb/s upload. I can transfer the same file to my windows server or ftp and I get 115mb/s+ for both upload and download. I have been using apache2 on ubuntu but I decided to give nginx a try.
I am having the same problem, slow upload speed, from my laptop running windows 10, fully up to date, via WiFi to my shared hosting NextCloud (cpanel/whm). NextCloud client 3.0.3 to NextCloud version 20.0.3.
Usually, uploads are fast, at the moment, it’s crawling along at around 1kB/s, yes, 1024 bytes per second. It eventually times out and fails. Only one file is at issue, my keepass database. I am unable to sync an update to the keepass database to the server and hence, on to other computers and my phone.
So, did anyone resolve their slow upload speed?