Upload Speed Drop from 11x MB/s to 1X MB/s at the time of uploaded 7xx MB

Nextcloud version (eg, 20.0.5): 23.0.7
Operating system and version (eg, Ubuntu 20.04): TrueNAS 12.0U8.1 Jail 12.3-RELEASE-p5
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.54 (FreeBSD)
PHP version (eg, 7.4): PHP 8.0.20 (cli) (built: Jul 3 2022 16:31:03) ( NTS )

The issue you are facing:

Hi, after some step, I choose to use Apache as the Nextcloud Host and use Nginx as Reverse Proxy Server.

However, no matter I use the Nextcloud Domain or Proxy Domain (all local network) to upload large files, the upload speed cannot sustain at 100 MB/s. In my observation, the speed will start at 100 MB/s and drop to 1X MB/s at the time of uploaded 7xx MB.

The process is still going at this speed and no error exists.

Do anyone have idea about this?

I have followed the manual Uploading big files > 512MB and tuned the max_chunk_size to 600 MiB.

Is this the first time you’ve seen this error? (Y/N): N
In my past step (Nextcloud 22), I use Nginx as Host and Nginxas Proxy and I can get average 80 MB/s when uploading large file, but WebDAV will not work.

Steps to replicate it:
Upload large files.

The output of your Nextcloud log in Admin > Logging:


The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

$CONFIG = array (
  'instanceid' => 'ocn79ddqr48r',
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' =>
  array (
    0 => '',
  'datadirectory' => '/mnt/data',
  'dbtype' => 'pgsql',
  'version' => '',
  'overwrite.cli.url' => '',
  'dbname' => '',
  'dbhost' => '',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => '',
  'dbpassword' => '',
  'installed' => true,
  'redis' =>
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'trusted_proxies' =>
  array (
    0 => '',
  'overwriteprotocol' => 'https',
  'overwritewebroot' => '/',
  'overwritehost' => '',
  'default_phone_region' => '',
  'mail_smtpmode' => 'smtp',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_sendmailmode' => 'smtp',
  'mail_smtpsecure' => 'tls',
  'mail_smtpauth' => 1,
  'mail_smtpport' => '',
  'mail_from_address' => '',
  'mail_domain' => '',
  'mail_smtpname' => '',
  'mail_smtppassword' => '',
  'mail_smtphost' => '',

The output of your Apache/nginx/system log in /var/log/____:



Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.


Hi @testcb00,
You are missing the required support template. Please fill this form out and edit into your post.

This will give us the technical info and logs needed to help you! Thanks.

Also, what are your system specs (CPU, Ram, Network 100/1000/wifi)?
What kind of disks? Spinning or SSD or NVME or USB.
How much ram?
How many users?
Are you running other services (Jellyfin, Matrix) on this same server?