Too slow up and download

Nextcloud version : 12.
Operating system and version: Ubuntu 16.10
Apache or nginx version : 2.4.18
PHP version :7.0.18
Is this the first time you’ve seen this error?: yes

Can you reliably replicate it? (If so, please outline steps):download and upload 10 gb file

The issue you are facing:

I have fresh install of NextCloud. Redis are PHP OPcache¶ configured.
To download or upload 10 Gb file I need 10 minutes. The same server via samba is extremely fast. Is it normal speed for nextcloud?

The output of your Nextcloud log in Admin > Logging:

I have no logs.

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

<?php
$CONFIG = array (
  'instanceid' => '...',
  'passwordsalt' => '...',
  'secret' => '...',
  'trusted_domains' =>
  array (
    0 => 'example.com',
  ),
  'datadirectory' => '/mnt/share',
  'overwrite.cli.url' => 'https://example.com',
  'dbtype' => 'mysql',
  'version' => '12.0.0.29',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'clouduser',
  'dbpassword' => 'password',
  'installed' => true,
  'default_language' => 'en',
  'memcache.local' => '\OC\Memcache\APCu',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'filelocking.enabled' => 'true',
  'redis' =>
  array (
  'host' => '/var/run/redis/redis.sock',
  'port' => 0,
  'timeout' => 0.0,
  ),
);

How is the server generally when the upload is taking place?

  • High load?
  • High i/o?
  • Sluggish?
  • Lots of Apache errors?

CPU is ~1.5-2 from 4
RAM ~700MB from 8Gb
I don’t know how to test other parameters…(noob)

Apache logs are normally /var/log/apache2/error.log and I believe mysql is /var/log/mysql/error.log