Slow Upload on Raspberry Pi 4 8Gb (Nextcloudpi)

Nextcloud version (eg, 20.0.5): 22.2.2
Operating system and version (eg, Ubuntu 20.04): Debian 10 (NextCloudPi _11-27-20)
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.38
PHP version (eg, 7.4): 7.3.31

The issue you are facing:

The Upload speed is very slow and around 4MB/s. It is also not constant and jumps between a few KB/s and 4MB/s. I tried a lot but didn’t get any performance upgrades. RAM usage is always like 1GB. Nothing else is running on the Raspberry. SWAP is never used and always zero.

I dont really know what to do, to upgrade my performance. Do you have any tips for me?

Further Information:

  • MariaDB is used
  • Redis is up and running
  • 2 Hard Disks configured as software RAID 1 are connected via USB 3.0 (2TB each disk)
  • Raspberry is connected via LAN


  • Memory Limit: 6 GB
  • Max Execution: 3600
  • Upload Max Size: 10 GB


4 MB/s is not bad :smiley: , I have few questions:

  1. Did you it test via LAN, Wi-Fi, or internet?
  2. Did you check your CPU usage during upload e.g. with htop?
  3. How did you perform upload? Via NC Client, Web UI, Webdav?


  • yes i tested it from Lan and from Internet, both ways same speed.

  • yes, there are no high peaks or something unusual.

  • Tested all three uploads. WebDAV loads very fast and get stuck at 99% like for ever. Web UI and NC Client work normal with max 4MB/s.

I attached a Image, taken from htop while uploading a File.

I am satisfied with 4MB/s from the Internet, but it is too slow in the internal Network.

Is it connected to your LAN using WiFi or Ethernet?

Which file system did you format your HDD raid with?

Are you using FUSE or kernel mode file system driver(s)?