Slow upload and download speed on raspberry pi

[/details]

Nextcloud version: 20.0.4
Operating system and version: raspbian 10.7
Apache or nginx version : 2.4.38
PHP version: 7.4.13 (cli)

The issue you are facing:

my upload and download speeds are verry slow eventho the raspberry pi 4 isnt really doing anything

the speed i usualy get is 10MB/s with rare short lasting spikes to 13MB/s. however my internet speed arround 50MB/s

in these pictures is my speed test and the stats for my pi while im uploading a 300MB file via web browser

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. ive installed nextcloud as per documentation
  2. upload or download

The output of your Nextcloud log in Admin > Logging: there will be some errors due to me canceling uploads in the browser

{"reqId":"NKVYOxOpiMUqQcjBdUeu","level":2,"time":"2020-12-22T17:17:05+00:00","remoteAddr":"192.168.2.174","user":"Ivar","app":"no app in context","method":"GET","url":"/nextcloud/core/preview?fileId=292&c=04ccdab3b786089754e2e77131923088&x=250&y=250&forceIcon=0","message":"Host 192.168.2.47 was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36","version":"20.0.4.0"}
{"reqId":"JFVAv27y1Wcf7kB6vs8h","level":2,"time":"2020-12-22T17:17:05+00:00","remoteAddr":"192.168.2.174","user":"Ivar","app":"no app in context","method":"GET","url":"/nextcloud/core/preview?fileId=311&c=391a82a162893b7cb0e5f003eaad3a8f&x=250&y=250&forceIcon=0","message":"Host 192.168.2.47 was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36","version":"20.0.4.0"}
{"reqId":"GceHaKUtnozh2R7JM5CG","level":2,"time":"2020-12-22T17:17:05+00:00","remoteAddr":"192.168.2.174","user":"Ivar","app":"no app in context","method":"GET","url":"/nextcloud/core/preview?fileId=293&c=81816af787b8673c6b946bc0762f105d&x=250&y=250&forceIcon=0","message":"Host 192.168.2.47 was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36","version":"20.0.4.0"}
{"reqId":"SVf6y2XLK9AheTpJKnBP","level":2,"time":"2020-12-22T17:17:05+00:00","remoteAddr":"192.168.2.174","user":"Ivar","app":"no app in context","method":"GET","url":"/nextcloud/core/preview?fileId=296&c=5492c525d754ff687fb7a82e775e14a5&x=250&y=250&forceIcon=0","message":"Host 192.168.2.47 was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36","version":"20.0.4.0"}
{"reqId":"wGQnNEzBTrybtMNxsIrX","level":2,"time":"2020-12-22T17:17:05+00:00","remoteAddr":"192.168.2.174","user":"Ivar","app":"no app in context","method":"GET","url":"/nextcloud/core/preview?fileId=317&c=2be482f227538c1aa39c853c4228a697&x=250&y=250&forceIcon=0","message":"Host 192.168.2.47 was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36","version":"20.0.4.0"}
{"reqId":"cwFR5BbZqLUA3M612eOy","level":2,"time":"2020-12-22T17:17:05+00:00","remoteAddr":"192.168.2.174","user":"Ivar","app":"no app in context","method":"GET","url":"/nextcloud/core/preview?fileId=282&c=deb10108233c0b14f736620c98705113&x=250&y=250&forceIcon=0","message":"Host 192.168.2.47 was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36","version":"20.0.4.0"}
{"reqId":"IRGmM8nui7eUl2F83QuY","level":2,"time":"2020-12-22T17:17:05+00:00","remoteAddr":"192.168.2.174","user":"Ivar","app":"no app in context","method":"GET","url":"/nextcloud/core/preview?fileId=301&c=b28ab34a258f957fcebb8e382a7a05a6&x=250&y=250&forceIcon=0","message":"Host 192.168.2.47 was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36","version":"20.0.4.0"}
{"reqId":"Zy9VCJeqA14Wi4tJr3v5","level":3,"time":"2020-12-22T17:20:34+00:00","remoteAddr":"213.10.18.192","user":"Ivar","app":"core","method":"PUT","url":"/nextcloud/remote.php/dav/uploads/Ivar/web-file-upload-c9cd707ead6348104b18d1e2578a6afe-1608657600358/115343360","message":"unable to rename, source directory is not writable : uploads/web-file-upload-c9cd707ead6348104b18d1e2578a6afe-1608657600358","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36","version":"20.0.4.0"}
{"reqId":"Zy9VCJeqA14Wi4tJr3v5","level":3,"time":"2020-12-22T17:20:34+00:00","remoteAddr":"213.10.18.192","user":"Ivar","app":"webdav","method":"PUT","url":"/nextcloud/remote.php/dav/uploads/Ivar/web-file-upload-c9cd707ead6348104b18d1e2578a6afe-1608657600358/115343360","message":"renaming part file to final file failed $renameOkay: false, $fileExists: false)","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36","version":"20.0.4.0"}
{"reqId":"Zy9VCJeqA14Wi4tJr3v5","level":4,"time":"2020-12-22T17:20:34+00:00","remoteAddr":"213.10.18.192","user":"Ivar","app":"webdav","method":"PUT","url":"/nextcloud/remote.php/dav/uploads/Ivar/web-file-upload-c9cd707ead6348104b18d1e2578a6afe-1608657600358/115343360","message":{"Exception":"Sabre\\DAV\\Exception","Message":"Could not rename part file to final file","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","line":155,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Upload/UploadFolder.php","line":46,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1104,"function":"createFile","class":"OCA\\DAV\\Upload\\UploadFolder","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":527,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":474,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":319,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":332,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":167,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php","Line":296,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36","version":"20.0.4.0"}
{"reqId":"0wXSsvFSfQyI2N7ul9jl","level":4,"time":"2020-12-22T17:22:03+00:00","remoteAddr":"213.10.18.192","user":"Ivar","app":"ocs_api","method":"POST","url":"/nextcloud/ocs/v2.php/cloud/users","message":"Failed addUser attempt: User already exists.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36","version":"20.0.4.0"}
{"reqId":"4lxuxDjsjl6wo6yVUMYL","level":3,"time":"2020-12-23T20:12:35+00:00","remoteAddr":"77.161.101.247","user":"Ivar","app":"PHP","method":"DELETE","url":"/nextcloud/remote.php/dav/uploads/Ivar/web-file-upload-dc5d6faf7f146c1ac32374771ae881a7-1608754318930","message":{"Exception":"Error","Message":"rmdir(/mnt/hdd/nextcloud/Ivar/uploads/web-file-upload-dc5d6faf7f146c1ac32374771ae881a7-1608754318930): No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#125","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Local.php","line":125,"function":"rmdir"},{"function":"rmdir","class":"OC\\Files\\Storage\\Local","type":"->"},{"file":"/var/www/nextcloud/apps/files_trashbin/lib/Storage.php","line":183,"function":"call_user_func"},{"file":"/var/www/nextcloud/apps/files_trashbin/lib/Storage.php","line":118,"function":"doDelete","class":"OCA\\Files_Trashbin\\Storage","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1167,"function":"rmdir","class":"OCA\\Files_Trashbin\\Storage","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":350,"function":"basicOperation","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","line":309,"function":"rmdir","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Upload/UploadFolder.php","line":81,"function":"delete","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":183,"function":"delete","class":"OCA\\DAV\\Upload\\UploadFolder","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":295,"function":"delete","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpDelete","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":474,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":319,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":332,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":167,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":91,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36","version":"20.0.4.0"}
{"reqId":"bkwlIA6QsLNBv1R19tcU","level":3,"time":"2020-12-23T21:40:10+00:00","remoteAddr":"77.161.101.247","user":"Ivar","app":"no app in context","method":"PUT","url":"/nextcloud/remote.php/dav/files/Ivar/Test/codex-assassins.creed.origins.the.curse.of.the.pharaohs/codex-assassins.creed.origins.the.curse.of.the.pharaohs.iso","message":{"Exception":"Sabre\\DAV\\Exception\\BadRequest","Message":"Expected filesize of 71564001280 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 1510162432 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1143,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":515,"function":"updateFile","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":474,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":319,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":332,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":167,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php","Line":246,"CustomMessage":"--"},"userAgent":"NetDrive 2.6.11","version":"20.0.4.0"}
{"reqId":"ElFO01SlASbpmFKLMK4y","level":3,"time":"2020-12-24T12:22:25+00:00","remoteAddr":"212.102.35.53","user":"Ivar","app":"PHP","method":"DELETE","url":"/nextcloud/remote.php/dav/uploads/Ivar/web-file-upload-28b7d4be330ec2b011b479ff02568e3c-1608812511806","message":{"Exception":"Error","Message":"unlink(/mnt/hdd/nextcloud/Ivar/uploads/web-file-upload-28b7d4be330ec2b011b479ff02568e3c-1608812511806/62914560): No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#120","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Local.php","line":120,"function":"unlink"},{"function":"rmdir","class":"OC\\Files\\Storage\\Local","type":"->"},{"file":"/var/www/nextcloud/apps/files_trashbin/lib/Storage.php","line":183,"function":"call_user_func"},{"file":"/var/www/nextcloud/apps/files_trashbin/lib/Storage.php","line":118,"function":"doDelete","class":"OCA\\Files_Trashbin\\Storage","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1167,"function":"rmdir","class":"OCA\\Files_Trashbin\\Storage","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":350,"function":"basicOperation","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","line":309,"function":"rmdir","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Upload/UploadFolder.php","line":81,"function":"delete","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":183,"function":"delete","class":"OCA\\DAV\\Upload\\UploadFolder","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":295,"function":"delete","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpDelete","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":474,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":319,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":332,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":167,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":91,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36","version":"20.0.4.0"}
{"reqId":"oPq41p7fuOmwO7mTw0F4","level":3,"time":"2020-12-24T12:22:26+00:00","remoteAddr":"212.102.35.53","user":"Ivar","app":"PHP","method":"DELETE","url":"/nextcloud/remote.php/dav/uploads/Ivar/web-file-upload-28b7d4be330ec2b011b479ff02568e3c-1608812511806","message":{"Exception":"Error","Message":"rmdir(/mnt/hdd/nextcloud/Ivar/uploads/web-file-upload-28b7d4be330ec2b011b479ff02568e3c-1608812511806): No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#125","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Local.php","line":125,"function":"rmdir"},{"function":"rmdir","class":"OC\\Files\\Storage\\Local","type":"->"},{"file":"/var/www/nextcloud/apps/files_trashbin/lib/Storage.php","line":183,"function":"call_user_func"},{"file":"/var/www/nextcloud/apps/files_trashbin/lib/Storage.php","line":118,"function":"doDelete","class":"OCA\\Files_Trashbin\\Storage","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1167,"function":"rmdir","class":"OCA\\Files_Trashbin\\Storage","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":350,"function":"basicOperation","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","line":309,"function":"rmdir","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Upload/UploadFolder.php","line":81,"function":"delete","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":183,"function":"delete","class":"OCA\\DAV\\Upload\\UploadFolder","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":295,"function":"delete","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpDelete","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":474,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":319,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":332,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":167,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":91,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36","version":"20.0.4.0"}

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

<?php
$CONFIG = array (
  'instanceid' => 'oca4wvro2zzj',
  'passwordsalt' => 'IsoyngAH1Nt4O9bmRUzvoWkAmtjncu',
  'secret' => 'lrXpg/5FEN67A7Xpz958HTfQ9LcQFt1P1LsbBfdIzFVCFsfM',
  'trusted_domains' =>
  array (
    0 => 'My external router IP',
    1 => '192.168.2.47',
    2 => 'My No Ip dns',
  ),
  'datadirectory' => '/mnt/hdd/nextcloud/',
  'dbtype' => 'mysql',
  'version' => '20.0.4.0',
  'overwrite.cli.url' => 'the website',
  'htaccess.RewriteBase' => '/nextcloud',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'username',
  'dbpassword' => 'password',
  'installed' => true,
  'updater.release.channel' => 'stable',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '/run/redis/redis-server.sock',
    'port' => 0,
  ),
  'mail_from_address' => 'ivarvisser',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'hotmail.com',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpsecure' => 'ssl',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
);




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


[Thu Dec 24 00:00:10.646302 2020] [ssl:warn] [pid 739] AH01909: 127.0.1.1:443:0 server certificate does NOT include $
[Thu Dec 24 00:00:10.647190 2020] [mpm_prefork:notice] [pid 739] AH00163: Apache/2.4.38 (Debian) OpenSSL/1.1.1i conf$
[Thu Dec 24 00:00:10.647228 2020] [core:notice] [pid 739] AH00094: Command line: '/usr/sbin/apache2'
[Thu Dec 24 00:18:38.178742 2020] [core:error] [pid 20382] [client 193.174.89.19:39958] AH00126: Invalid URI in requ$
[Thu Dec 24 00:18:41.202821 2020] [core:error] [pid 20359] [client 193.174.89.19:39960] AH00126: Invalid URI in requ$
[Thu Dec 24 00:33:59.451155 2020] [autoindex:error] [pid 22623] [client 77.161.101.247:50262] AH01276: Cannot serve $
cat: /sys/class/net/wlan0/speed: Invalid argument
cat: /sys/class/net/wlan0/duplex: Invalid argument
[Thu Dec 24 04:15:43.863147 2020] [php7:error] [pid 20360] [client 45.155.205.108:59838] script '/var/www/html/index$
[Thu Dec 24 06:22:47.128596 2020] [php7:error] [pid 20360] [client 104.236.42.55:54816] script '/var/www/html/system$
[Thu Dec 24 06:22:47.847472 2020] [php7:error] [pid 20478] [client 104.236.42.55:55244] script '/var/www/html/system$
[Thu Dec 24 09:16:56.479120 2020] [php7:error] [pid 20478] [client 106.55.44.117:51258] script '/var/www/html/elrekt$
[Thu Dec 24 09:16:59.711054 2020] [php7:error] [pid 20362] [client 106.55.44.117:52332] script '/var/www/html/index.$
[Thu Dec 24 12:45:31.867635 2020] [php7:error] [pid 22699] [client 45.155.205.108:50496] script '/var/www/html/index$
[Thu Dec 24 12:56:36.733592 2020] [php7:error] [pid 20362] [client 185.36.81.47:63597] script '/var/www/html/main.ph$
[Thu Dec 24 12:56:36.786429 2020] [php7:error] [pid 20358] [client 185.36.81.47:52762] script '/var/www/html/main.ph$
[Thu Dec 24 13:19:27.925543 2020] [autoindex:error] [pid 1953] [client 212.102.35.53:64127] AH01276: Cannot serve di$

modified in /apache/php.ini

all of the opcache specified in nextcloud documentation
post_max_size = 2048M
upload_max_size = 2048M
Max_file_uploads = 300
memory_limit = 1024M

You can see a 1.3% of io-wait, with iotop you can see which devices are writing on which disk. In case of the database, you can optimize the cache settings to speed up the process. However, on a large file the number of database-operations should not be the problem (in contrast to uploads of many small files).

Perhaps a good benchmark of the network and overall system performance is when you up- and download via scp. That’s a bit of a max number you get considering the internet connection, disk-speed etc. between the server and your client.

The errors in your logs could be interesting to check for further details:
Expected filesize of 71564001280 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 1510162432 bytes. Could either be a network problem on the
That is often when buffer sizes of the different processes are not well aligned:


(this is a very old howto from before Nextcloud was forked)

thank you for the response. the errors are caused by me canceling uploads.

i probably should explain my setup a bit more. my pi is running of a ssd via usb3.1 and my nextcloud data location is stored on an external HDD, it is the only thing writing to that disk at any given moment in these screenshots.

via scp (locally) im able to reach in the 90MB/s and externally i reach my max speed (since 24-12 its been upgraded to 500mbit/s) still up and down on nextcloud is no where near that spead (nor the max of the location im testing frome) when i try nextcloud on the local ip it also reaches around 9 with sometimes spikes to 14/15 MB/s with around a 2%iowait

ive reinstall aswell (entire linux system) but no changes on the finished produce. all i have running in the background is a samba server, ftp,ssh server and conky (but il disable conky as it kina likes to hog system resources.

ps didnt change anything.

so this is when i locally dav in with winscp

and this is locally using ftp locally

Your CPU is hitting 99.3% …

grafik

The cpu is only hitting 35%?

I added the screenshot. It’s probably a single core maxing out at 99.3%, but I don’t know if that really is the limit.

Ah hes, i see. That would mean apache inst able to multi thread. But perhaps that is a raspi 4 thing. Im gonna research it some more

definetly cpu limited. it only uses 1 core, idk why i havent found any on it regarding apache not multithreading

do u perhaps know. im getting mixed awnsers, one says multi threading is software related and not hardware related, and the other says pi cant do multithreading

Apache does multi-threading but it is often one thread per connection. But if one connection is maxing out the processor, it’s difficult. I don’t know if you can do multi-threading on top of that. Anyway, you must know first which function is maxing out.
I am not sure if there is an easy way to see which part uses the processor, if it just waits for something or it’s doing something that could be sped up.

Perhaps i can change the log level of apache? To something that shows all its doing

Would it perhaps be usefull to disable as much as possible apps, perhaps a app is causing some sort of delay

Perhaps, this can help. In case it is one of the php stuff, I think you need some debugger or more advanced tools.

alright ive set the log level to info, but it just shows who it connects to. i dont know if its related but whule uploading via the website i see a pause every 10MB it uploads.

il try it again with all (or most) apps disabled

disabled all apps, rebooted the pi so everything was garenteed off. no difference

Is this different if you use webdav directly?

no unfortunately not

the info script/website for php shows that thread safety is disabled, i thought i read that apache2 and php togheter should always use thread safety. perhaps il reinstall php and apache2 but in reverse order (first apache2 then php7.4. seems a long stretch but i dont know what else could be a issue

also didnt change a thing. do u see anything?

Server version: Apache/2.4.38 (Debian)
Server built: 2020-08-25T20:08:29
Server’s Module Magic Number: 20120211:84
Server loaded: APR 1.6.5, APR-UTIL 1.6.1
Compiled using: APR 1.6.5, APR-UTIL 1.6.1
Architecture: 64-bit
Server MPM: prefork
threaded: no
forked: yes (variable process count)
Server compiled with…
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/etc/apache2"
-D SUEXEC_BIN="/usr/lib/apache2/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2.pid"
-D DEFAULT_SCOREBOARD=“logs/apache_runtime_status”
-D DEFAULT_ERRORLOG=“logs/error_log”
-D AP_TYPES_CONFIG_FILE=“mime.types”
-D SERVER_CONFIG_FILE=“apache2.conf”


PHP logo
PHP Version 7.4.13
System	Linux raspberrypi 5.10.3-v8+ #1386 SMP PREEMPT Sun Dec 27 14:09:57 GMT 2020 aarch64
Build Date	Nov 30 2020 20:40:09
Server API	Apache 2.0 Handler
Virtual Directory Support	disabled
Configuration File (php.ini) Path	/etc/php/7.4/apache2
Loaded Configuration File	/etc/php/7.4/apache2/php.ini
Scan this dir for additional .ini files	/etc/php/7.4/apache2/conf.d
Additional .ini files parsed	/etc/php/7.4/apache2/conf.d/10-mysqlnd.ini, /etc/php/7.4/apache2/conf.d/10-opcache.ini, /etc/php/7.4/apache2/conf.d/10-pdo.ini, /etc/php/7.4/apache2/conf.d/15-xml.ini, /etc/php/7.4/apache2/conf.d/20-bcmath.ini, /etc/php/7.4/apache2/conf.d/20-bz2.ini, /etc/php/7.4/apache2/conf.d/20-calendar.ini, /etc/php/7.4/apache2/conf.d/20-ctype.ini, /etc/php/7.4/apache2/conf.d/20-curl.ini, /etc/php/7.4/apache2/conf.d/20-dom.ini, /etc/php/7.4/apache2/conf.d/20-exif.ini, /etc/php/7.4/apache2/conf.d/20-ffi.ini, /etc/php/7.4/apache2/conf.d/20-fileinfo.ini, /etc/php/7.4/apache2/conf.d/20-ftp.ini, /etc/php/7.4/apache2/conf.d/20-gd.ini, /etc/php/7.4/apache2/conf.d/20-gettext.ini, /etc/php/7.4/apache2/conf.d/20-gmp.ini, /etc/php/7.4/apache2/conf.d/20-iconv.ini, /etc/php/7.4/apache2/conf.d/20-igbinary.ini, /etc/php/7.4/apache2/conf.d/20-imagick.ini, /etc/php/7.4/apache2/conf.d/20-imap.ini, /etc/php/7.4/apache2/conf.d/20-intl.ini, /etc/php/7.4/apache2/conf.d/20-json.ini, /etc/php/7.4/apache2/conf.d/20-ldap.ini, /etc/php/7.4/apache2/conf.d/20-mbstring.ini, /etc/php/7.4/apache2/conf.d/20-mysqli.ini, /etc/php/7.4/apache2/conf.d/20-pdo_mysql.ini, /etc/php/7.4/apache2/conf.d/20-phar.ini, /etc/php/7.4/apache2/conf.d/20-posix.ini, /etc/php/7.4/apache2/conf.d/20-readline.ini, /etc/php/7.4/apache2/conf.d/20-redis.ini, /etc/php/7.4/apache2/conf.d/20-shmop.ini, /etc/php/7.4/apache2/conf.d/20-simplexml.ini, /etc/php/7.4/apache2/conf.d/20-sockets.ini, /etc/php/7.4/apache2/conf.d/20-sysvmsg.ini, /etc/php/7.4/apache2/conf.d/20-sysvsem.ini, /etc/php/7.4/apache2/conf.d/20-sysvshm.ini, /etc/php/7.4/apache2/conf.d/20-tokenizer.ini, /etc/php/7.4/apache2/conf.d/20-xmlreader.ini, /etc/php/7.4/apache2/conf.d/20-xmlwriter.ini, /etc/php/7.4/apache2/conf.d/20-xsl.ini, /etc/php/7.4/apache2/conf.d/20-zip.ini
PHP API	20190902
PHP Extension	20190902
Zend Extension	320190902
Zend Extension Build	API320190902,NTS
PHP Extension Build	API20190902,NTS
Debug Build	no
Thread Safety	disabled
Zend Signal Handling	enabled
Zend Memory Manager	enabled
Zend Multibyte Support	provided by mbstring
IPv6 Support	enabled
DTrace Support	disabled
Registered PHP Streams	https, ftps, compress.zlib, php, file, glob, data, http, ftp, compress.bzip2, phar, zip
Registered Stream Socket Transports	tcp, udp, unix, udg, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3
Registered Stream Filters	zlib.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, bzip2.*, convert.iconv.*
Zend logoThis program makes use of the Zend Scripting Language Engine:
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.13, Copyright (c), by Zend Technologies
Configuration
apache2handler
Apache Version	Apache/2.4.38 (Debian)
Apache API Version	20120211
Server Administrator	[no address given]
Hostname:Port	myserver:0
User/Group	www-data(33)/33
Max Requests	Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts	Connection: 300 - Keep-Alive: 5
Virtual Server	Yes
Server Root	/etc/apache2
Loaded Modules	core mod_so mod_watchdog http_core mod_log_config mod_logio mod_version mod_unixd mod_access_compat mod_alias mod_auth_basic mod_authn_core mod_authn_file mod_authz_core mod_authz_host mod_authz_user mod_autoindex mod_deflate mod_dir mod_env mod_filter mod_headers mod_mime prefork mod_negotiation mod_php7 mod_reqtimeout mod_rewrite mod_setenvif mod_socache_shmcb mod_ssl mod_status
Directive	Local Value	Master Value
engine	1	1
last_modified	0	0
xbithack	0	0
Apache Environment
Variable	Value
HTTPS	on
SSL_TLS_SNI	myserver
HTTP_HOST	myserver
HTTP_CONNECTION	keep-alive
HTTP_DNT	1
HTTP_UPGRADE_INSECURE_REQUESTS	1
HTTP_USER_AGENT	Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
HTTP_ACCEPT	text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
HTTP_SEC_FETCH_SITE	none
HTTP_SEC_FETCH_MODE	navigate
HTTP_SEC_FETCH_USER	?1
HTTP_SEC_FETCH_DEST	document
HTTP_ACCEPT_ENCODING	gzip, deflate, br
HTTP_ACCEPT_LANGUAGE	nl-NL,nl;q=0.9,en-US;q=0.8,en;q=0.7
PATH	/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
SERVER_SIGNATURE	<address>Apache/2.4.38 (Debian) Server at myserver Port 443</address>
SERVER_SOFTWARE	Apache/2.4.38 (Debian)
SERVER_NAME	myservert
SERVER_ADDR	192.168.2.47
SERVER_PORT	443
REMOTE_ADDR	myserver
DOCUMENT_ROOT	/var/www/html
REQUEST_SCHEME	https
CONTEXT_PREFIX	no value
CONTEXT_DOCUMENT_ROOT	/var/www/html
SERVER_ADMIN	[no address given]
SCRIPT_FILENAME	/var/www/html/info.php
REMOTE_PORT	64010
GATEWAY_INTERFACE	CGI/1.1
SERVER_PROTOCOL	HTTP/1.1
REQUEST_METHOD	GET
QUERY_STRING	no value
REQUEST_URI	/info.php
SCRIPT_NAME	/info.php
HTTP Headers Information
HTTP Request Headers
HTTP Request	GET /info.php HTTP/1.1
Host	my server
Connection	keep-alive
DNT	1
Upgrade-Insecure-Requests	1
User-Agent	Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Accept	text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Sec-Fetch-Site	none
Sec-Fetch-Mode	navigate
Sec-Fetch-User	?1
Sec-Fetch-Dest	document
Accept-Encoding	gzip, deflate, br
Accept-Language	nl-NL,nl;q=0.9,en-US;q=0.8,en;q=0.7
HTTP Response Headers
bcmath
BCMath support	enabled
Directive	Local Value	Master Value
bcmath.scale	0	0
bz2
BZip2 Support	Enabled
Stream Wrapper support	compress.bzip2://
Stream Filter support	bzip2.decompress, bzip2.compress
BZip2 Version	1.0.6, 6-Sept-2010
calendar
Calendar support	enabled
Core
PHP Version	7.4.13
Directive	Local Value	Master Value
allow_url_fopen	On	On
allow_url_include	Off	Off
arg_separator.input	&	&
arg_separator.output	&	&
auto_append_file	no value	no value
auto_globals_jit	On	On
auto_prepend_file	no value	no value
browscap	no value	no value
default_charset	UTF-8	UTF-8
default_mimetype	text/html	text/html
disable_classes	no value	no value
disable_functions	pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,	pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
display_errors	Off	Off
display_startup_errors	Off	Off
doc_root	no value	no value
docref_ext	no value	no value
docref_root	no value	no value
enable_dl	Off	Off
enable_post_data_reading	On	On
error_append_string	no value	no value
error_log	no value	no value
error_prepend_string	no value	no value
error_reporting	22527	22527
expose_php	Off	Off
extension_dir	/usr/lib/php/20190902	/usr/lib/php/20190902
file_uploads	On	On
hard_timeout	2	2
highlight.comment	#FF8000	#FF8000
highlight.default	#0000BB	#0000BB
highlight.html	#000000	#000000
highlight.keyword	#007700	#007700
highlight.string	#DD0000	#DD0000
html_errors	On	On
ignore_repeated_errors	Off	Off
ignore_repeated_source	Off	Off
ignore_user_abort	Off	Off
implicit_flush	Off	Off
include_path	.:/usr/share/php	.:/usr/share/php
input_encoding	no value	no value
internal_encoding	no value	no value
log_errors	On	On
log_errors_max_len	1024	1024
mail.add_x_header	Off	Off
mail.force_extra_parameters	no value	no value
mail.log	no value	no value
max_execution_time	30	30
max_file_uploads	100	100
max_input_nesting_level	64	64
max_input_time	60	60
max_input_vars	1000	1000
memory_limit	512M	512M
open_basedir	no value	no value
output_buffering	4096	4096
output_encoding	no value	no value
output_handler	no value	no value
post_max_size	1024	1024
precision	14	14
realpath_cache_size	4096K	4096K
realpath_cache_ttl	120	120
register_argc_argv	Off	Off
report_memleaks	On	On
report_zend_debug	On	On
request_order	GP	GP
sendmail_from	no value	no value
sendmail_path	/usr/sbin/sendmail -t -i	/usr/sbin/sendmail -t -i
serialize_precision	-1	-1
short_open_tag	Off	Off
SMTP	localhost	localhost
smtp_port	25	25
sys_temp_dir	no value	no value
syslog.facility	LOG_USER	LOG_USER
syslog.filter	no-ctrl	no-ctrl
syslog.ident	php	php
track_errors	Off	Off
unserialize_callback_func	no value	no value
upload_max_filesize	1024M	1024M
upload_tmp_dir	no value	no value
user_dir	no value	no value
user_ini.cache_ttl	300	300
user_ini.filename	.user.ini	.user.ini
variables_order	GPCS	GPCS
xmlrpc_error_number	0	0
xmlrpc_errors	Off	Off
zend.assertions	-1	-1
zend.detect_unicode	On	On
zend.enable_gc	On	On
zend.exception_ignore_args	On	On
zend.multibyte	Off	Off
zend.script_encoding	no value	no value
zend.signal_check	Off	Off
ctype
ctype functions	enabled
curl
cURL support	enabled
cURL Information	7.64.0
Age	4
Features
AsynchDNS	Yes
CharConv	No
Debug	No
GSS-Negotiate	No
IDN	Yes
IPv6	Yes
krb4	No
Largefile	Yes
libz	Yes
NTLM	Yes
NTLMWB	Yes
SPNEGO	Yes
SSL	Yes
SSPI	No
TLS-SRP	Yes
HTTP2	Yes
GSSAPI	Yes
KERBEROS5	Yes
UNIX_SOCKETS	Yes
PSL	Yes
HTTPS_PROXY	Yes
MULTI_SSL	No
BROTLI	No
Protocols	dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtmp, rtsp, scp, sftp, smb, smbs, smtp, smtps, telnet, tftp
Host	aarch64-unknown-linux-gnu
SSL Version	OpenSSL/1.1.1i
ZLib Version	1.2.11
libSSH Version	libssh2/1.8.0
Directive	Local Value	Master Value
curl.cainfo	no value	no value
date
date/time support	enabled
timelib version	2018.04
"Olson" Timezone Database Version	0.system
Timezone Database	internal
Default timezone	Europe/Berlin
Directive	Local Value	Master Value
date.default_latitude	31.7667	31.7667
date.default_longitude	35.2333	35.2333
date.sunrise_zenith	90.583333	90.583333
date.sunset_zenith	90.583333	90.583333
date.timezone	no value	no value
dom
DOM/XML	enabled
DOM/XML API Version	20031129
libxml Version	2.9.9
HTML Support	enabled
XPath Support	enabled
XPointer Support	enabled
Schema Support	enabled
RelaxNG Support	enabled
exif
EXIF Support	enabled
Supported EXIF Version	0220
Supported filetypes	JPEG, TIFF
Multibyte decoding support using mbstring	enabled
Extended EXIF tag formats	Canon, Casio, Fujifilm, Nikon, Olympus, Samsung, Panasonic, DJI, Sony, Pentax, Minolta, Sigma, Foveon, Kyocera, Ricoh, AGFA, Epson
Directive	Local Value	Master Value
exif.decode_jis_intel	JIS	JIS
exif.decode_jis_motorola	JIS	JIS
exif.decode_unicode_intel	UCS-2LE	UCS-2LE
exif.decode_unicode_motorola	UCS-2BE	UCS-2BE
exif.encode_jis	no value	no value
exif.encode_unicode	ISO-8859-15	ISO-8859-15
FFI
FFI support	enabled
Directive	Local Value	Master Value
ffi.enable	preload	preload
ffi.preload	no value	no value
fileinfo
fileinfo support	enabled
libmagic	537
filter
Input Validation and Filtering	enabled
Directive	Local Value	Master Value
filter.default	unsafe_raw	unsafe_raw
filter.default_flags	no value	no value
ftp
FTP support	enabled
FTPS support	enabled
gd
GD Support	enabled
GD headers Version	2.2.5
GD library Version	2.2.5
FreeType Support	enabled
FreeType Linkage	with freetype
GIF Read Support	enabled
GIF Create Support	enabled
JPEG Support	enabled
PNG Support	enabled
WBMP Support	enabled
XPM Support	enabled
XBM Support	enabled
WebP Support	enabled
BMP Support	enabled
TGA Read Support	enabled
Directive	Local Value	Master Value
gd.jpeg_ignore_warning	1	1
gettext
GetText Support	enabled
gmp
gmp support	enabled
GMP version	6.1.2
hash
hash support	enabled
Hashing Engines	md2 md4 md5 sha1 sha224 sha256 sha384 sha512/224 sha512/256 sha512 sha3-224 sha3-256 sha3-384 sha3-512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost gost-crypto adler32 crc32 crc32b crc32c fnv132 fnv1a32 fnv164 fnv1a64 joaat haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5
MHASH support	Enabled
MHASH API Version	Emulated Support
iconv
iconv support	enabled
iconv implementation	glibc
iconv library version	2.28
Directive	Local Value	Master Value
iconv.input_encoding	no value	no value
iconv.internal_encoding	no value	no value
iconv.output_encoding	no value	no value
igbinary
igbinary support	enabled
igbinary version	3.1.6
igbinary APCu serializer ABI	0
igbinary session support	yes
Directive	Local Value	Master Value
igbinary.compact_strings	On	On
imagick
imagick module	enabled
imagick module version	3.4.4
imagick classes	Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator, ImagickKernel
Imagick compiled with ImageMagick version	ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
Imagick using ImageMagick library version	ImageMagick 6.9.10-23 Q16 aarch64 20190101 https://imagemagick.org
ImageMagick copyright	© 1999-2019 ImageMagick Studio LLC
ImageMagick release date	20190101
ImageMagick number of supported formats:	242
ImageMagick supported formats	3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HEIC, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
Directive	Local Value	Master Value
imagick.locale_fix	0	0
imagick.progress_monitor	0	0
imagick.set_single_thread	1	1
imagick.shutdown_sleep_count	10	10
imagick.skip_version_check	1	1
imap
IMAP c-Client Version	2007f
SSL Support	enabled
Kerberos Support	enabled
Directive	Local Value	Master Value
imap.enable_insecure_rsh	Off	Off
intl
Internationalization support	enabled
ICU version	65.1
ICU Data version	65.1
ICU TZData version	2019c
ICU Unicode version	12.1
Directive	Local Value	Master Value
intl.default_locale	no value	no value
intl.error_level	0	0
intl.use_exceptions	0	0
json
json support	enabled
ldap
LDAP Support	enabled
Total Links	0/unlimited
API Version	3001
Vendor Name	OpenLDAP
Vendor Version	20447
SASL Support	Enabled
Directive	Local Value	Master Value
ldap.max_links	Unlimited	Unlimited
libxml
libXML support	active
libXML Compiled Version	2.9.9
libXML Loaded Version	20909
libXML streams	enabled
mbstring
Multibyte Support	enabled
Multibyte string engine	libmbfl
HTTP input encoding translation	disabled
libmbfl version	1.3.2
mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.
Multibyte (japanese) regex support	enabled
Multibyte regex (oniguruma) version	6.9.1
Directive	Local Value	Master Value
mbstring.detect_order	no value	no value
mbstring.encoding_translation	Off	Off
mbstring.func_overload	0	0
mbstring.http_input	no value	no value
mbstring.http_output	no value	no value
mbstring.http_output_conv_mimetypes	^(text/|application/xhtml\+xml)	^(text/|application/xhtml\+xml)
mbstring.internal_encoding	no value	no value
mbstring.language	neutral	neutral
mbstring.regex_retry_limit	1000000	1000000
mbstring.regex_stack_limit	100000	100000
mbstring.strict_detection	Off	Off
mbstring.substitute_character	no value	no value
mysqli
MysqlI Support	enabled
Client API library version	mysqlnd 7.4.13
Active Persistent Links	0
Inactive Persistent Links	0
Active Links	0
Directive	Local Value	Master Value
mysqli.allow_local_infile	Off	Off
mysqli.allow_persistent	On	On
mysqli.default_host	no value	no value
mysqli.default_port	3306	3306
mysqli.default_pw	no value	no value
mysqli.default_socket	no value	no value
mysqli.default_user	no value	no value
mysqli.max_links	Unlimited	Unlimited
mysqli.max_persistent	Unlimited	Unlimited
mysqli.reconnect	Off	Off
mysqli.rollback_on_cached_plink	Off	Off
mysqlnd
mysqlnd	enabled
Version	mysqlnd 7.4.13
Compression	supported
core SSL	supported
extended SSL	supported
Command buffer size	4096
Read buffer size	32768
Read timeout	86400
Collecting statistics	Yes
Collecting memory statistics	No
Tracing	n/a
Loaded plugins	mysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password,auth_plugin_caching_sha2_password,auth_plugin_sha256_password
API Extensions	mysqli,pdo_mysql
openssl
OpenSSL support	enabled
OpenSSL Library Version	OpenSSL 1.1.1i 8 Dec 2020
OpenSSL Header Version	OpenSSL 1.1.1g 21 Apr 2020
Openssl default config	/usr/lib/ssl/openssl.cnf
Directive	Local Value	Master Value
openssl.cafile	no value	no value
openssl.capath	no value	no value
pcre
PCRE (Perl Compatible Regular Expressions) Support	enabled
PCRE Library Version	10.34 2019-11-21
PCRE Unicode Version	12.1.0
PCRE JIT Support	enabled
PCRE JIT Target	ARM-64 64bit (little endian + unaligned)
Directive	Local Value	Master Value
pcre.backtrack_limit	1000000	1000000
pcre.jit	1	1
pcre.recursion_limit	100000	100000
PDO
PDO support	enabled
PDO drivers	mysql
pdo_mysql
PDO Driver for MySQL	enabled
Client API version	mysqlnd 7.4.13
Directive	Local Value	Master Value
pdo_mysql.default_socket	/var/run/mysqld/mysqld.sock	/var/run/mysqld/mysqld.sock
Phar
Phar: PHP Archive support	enabled
Phar API version	1.1.1
Phar-based phar archives	enabled
Tar-based phar archives	enabled
ZIP-based phar archives	enabled
gzip compression	enabled
bzip2 compression	enabled
Native OpenSSL support	enabled
Phar based on pear/PHP_Archive, original concept by Davey Shafik.
Phar fully realized by Gregory Beaver and Marcus Boerger.
Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.
Directive	Local Value	Master Value
phar.cache_list	no value	no value
phar.readonly	On	On
phar.require_hash	On	On
posix
POSIX support	enabled
readline
Readline Support	enabled
Readline library	EditLine wrapper
Directive	Local Value	Master Value
cli.pager	no value	no value
cli.prompt	\b \> 	\b \> 
redis
Redis Support	enabled
Redis Version	5.3.2
Redis Sentinel Version	0.1
Available serializers	php, json, igbinary
Directive	Local Value	Master Value
redis.arrays.algorithm	no value	no value
redis.arrays.auth	no value	no value
redis.arrays.autorehash	0	0
redis.arrays.connecttimeout	0	0
redis.arrays.consistent	0	0
redis.arrays.distributor	no value	no value
redis.arrays.functions	no value	no value
redis.arrays.hosts	no value	no value
redis.arrays.index	0	0
redis.arrays.lazyconnect	0	0
redis.arrays.names	no value	no value
redis.arrays.pconnect	0	0
redis.arrays.previous	no value	no value
redis.arrays.readtimeout	0	0
redis.arrays.retryinterval	0	0
redis.clusters.auth	no value	no value
redis.clusters.cache_slots	0	0
redis.clusters.persistent	0	0
redis.clusters.read_timeout	0	0
redis.clusters.seeds	no value	no value
redis.clusters.timeout	0	0
redis.pconnect.connection_limit	0	0
redis.pconnect.echo_check_liveness	1	1
redis.pconnect.pool_pattern	no value	no value
redis.pconnect.pooling_enabled	1	1
redis.session.lock_expire	0	0
redis.session.lock_retries	10	10
redis.session.lock_wait_time	2000	2000
redis.session.locking_enabled	0	0
Reflection
Reflection	enabled
session
Session Support	enabled
Registered save handlers	files user redis rediscluster
Registered serializer handlers	php_serialize php php_binary igbinary
Directive	Local Value	Master Value
session.auto_start	Off	Off
session.cache_expire	180	180
session.cache_limiter	nocache	nocache
session.cookie_domain	no value	no value
session.cookie_httponly	no value	no value
session.cookie_lifetime	0	0
session.cookie_path	/	/
session.cookie_samesite	no value	no value
session.cookie_secure	0	0
session.gc_divisor	1000	1000
session.gc_maxlifetime	1440	1440
session.gc_probability	0	0
session.lazy_write	On	On
session.name	PHPSESSID	PHPSESSID
session.referer_check	no value	no value
session.save_handler	files	files
session.save_path	/var/lib/php/sessions	/var/lib/php/sessions
session.serialize_handler	php	php
session.sid_bits_per_character	5	5
session.sid_length	26	26
session.upload_progress.cleanup	On	On
session.upload_progress.enabled	On	On
session.upload_progress.freq	1%	1%
session.upload_progress.min_freq	1	1
session.upload_progress.name	PHP_SESSION_UPLOAD_PROGRESS	PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.prefix	upload_progress_	upload_progress_
session.use_cookies	1	1
session.use_only_cookies	1	1
session.use_strict_mode	0	0
session.use_trans_sid	0	0
shmop
shmop support	enabled
SimpleXML
SimpleXML support	enabled
Schema support	enabled
sockets
Sockets Support	enabled
sodium
sodium support	enabled
libsodium headers version	1.0.18
libsodium library version	1.0.18
SPL
SPL support	enabled
Interfaces	OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes	AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException
standard
Dynamic Library Support	enabled
Path to sendmail	/usr/sbin/sendmail -t -i
Directive	Local Value	Master Value
assert.active	1	1
assert.bail	0	0
assert.callback	no value	no value
assert.exception	0	0
assert.quiet_eval	0	0
assert.warning	1	1
auto_detect_line_endings	0	0
default_socket_timeout	60	60
from	no value	no value
session.trans_sid_hosts	no value	no value
session.trans_sid_tags	a=href,area=href,frame=src,form=	a=href,area=href,frame=src,form=
unserialize_max_depth	4096	4096
url_rewriter.hosts	no value	no value
url_rewriter.tags	form=	form=
user_agent	no value	no value
sysvmsg
sysvmsg support	enabled
sysvsem
sysvsem support	enabled
sysvshm
sysvshm support	enabled
tokenizer
Tokenizer Support	enabled
xml
XML Support	active
XML Namespace Support	active
libxml2 Version	2.9.9
xmlreader
XMLReader	enabled
xmlwriter
XMLWriter	enabled
xsl
XSL	enabled
libxslt Version	1.1.32
libxslt compiled against libxml Version	2.9.4
EXSLT	enabled
libexslt Version	1.1.32
Zend OPcache
Opcode Caching	Up and Running
Optimization	Enabled
SHM Cache	Enabled
File Cache	Disabled
Startup	OK
Shared memory model	mmap
Cache hits	446319
Cache misses	1251
Used memory	26833592
Free memory	510037320
Wasted memory	0
Interned Strings Used memory	3408728
Interned Strings Free memory	2882280
Cached scripts	1250
Cached keys	2370
Max keys	16229
OOM restarts	0
Hash keys restarts	0
Manual restarts	0
Directive	Local Value	Master Value
opcache.blacklist_filename	no value	no value
opcache.consistency_checks	0	0
opcache.dups_fix	Off	Off
opcache.enable	On	On
opcache.enable_cli	On	On
opcache.enable_file_override	Off	Off
opcache.error_log	no value	no value
opcache.file_cache	no value	no value
opcache.file_cache_consistency_checks	On	On
opcache.file_cache_only	Off	Off
opcache.file_update_protection	2	2
opcache.force_restart_timeout	180	180
opcache.huge_code_pages	Off	Off
opcache.interned_strings_buffer	8	8
opcache.lockfile_path	/tmp	/tmp
opcache.log_verbosity_level	1	1
opcache.max_accelerated_files	10000	10000
opcache.max_file_size	0	0
opcache.max_wasted_percentage	5	5
opcache.memory_consumption	512M	512M
opcache.opt_debug_level	0	0
opcache.optimization_level	0x7FFEBFFF	0x7FFEBFFF
opcache.preferred_memory_model	no value	no value
opcache.preload	no value	no value
opcache.preload_user	no value	no value
opcache.protect_memory	Off	Off
opcache.restrict_api	no value	no value
opcache.revalidate_freq	1	1
opcache.revalidate_path	Off	Off
opcache.save_comments	On	On
opcache.use_cwd	On	On
opcache.validate_permission	Off	Off
opcache.validate_root	Off	Off
opcache.validate_timestamps	On	On
zip
Zip	enabled
Zip version	1.15.6
Libzip headers version	1.5.1
Libzip library version	1.5.1
zlib
ZLib Support	enabled
Stream Wrapper	compress.zlib://
Stream Filter	zlib.inflate, zlib.deflate
Compiled Version	1.2.11
Linked Version	1.2.11
Directive	Local Value	Master Value
zlib.output_compression	Off	Off
zlib.output_compression_level	-1	-1
zlib.output_handler	no value	no value
Additional Modules
Module Name
Environment
Variable	Value
LANGUAGE	en_US.UTF-8
APACHE_RUN_DIR	/var/run/apache2
APACHE_PID_FILE	/var/run/apache2/apache2.pid
JOURNAL_STREAM	8:16145
PATH	/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
INVOCATION_ID	3198c529fa334243ab8bffbd3f2a972f
APACHE_LOCK_DIR	/var/lock/apache2
LANG	C
APACHE_RUN_USER	www-data
APACHE_RUN_GROUP	www-data
APACHE_LOG_DIR	/var/log/apache2
PWD	/
PHP Variables
Variable	Value
$_SERVER['HTTPS']	on
$_SERVER['SSL_TLS_SNI']	my server
$_SERVER['HTTP_HOST']	my server
$_SERVER['HTTP_CONNECTION']	keep-alive
$_SERVER['HTTP_DNT']	1
$_SERVER['HTTP_UPGRADE_INSECURE_REQUESTS']	1
$_SERVER['HTTP_USER_AGENT']	Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
$_SERVER['HTTP_ACCEPT']	text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
$_SERVER['HTTP_SEC_FETCH_SITE']	none
$_SERVER['HTTP_SEC_FETCH_MODE']	navigate
$_SERVER['HTTP_SEC_FETCH_USER']	?1
$_SERVER['HTTP_SEC_FETCH_DEST']	document
$_SERVER['HTTP_ACCEPT_ENCODING']	gzip, deflate, br
$_SERVER['HTTP_ACCEPT_LANGUAGE']	nl-NL,nl;q=0.9,en-US;q=0.8,en;q=0.7
$_SERVER['PATH']	/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
$_SERVER['SERVER_SIGNATURE']	<address>Apache/2.4.38 (Debian) Server at my server Port 443</address>
$_SERVER['SERVER_SOFTWARE']	Apache/2.4.38 (Debian)
$_SERVER['SERVER_NAME']	myserver
$_SERVER['SERVER_ADDR']	192.168.2.47
$_SERVER['SERVER_PORT']	443
$_SERVER['REMOTE_ADDR']	myserver
$_SERVER['DOCUMENT_ROOT']	/var/www/html
$_SERVER['REQUEST_SCHEME']	https
$_SERVER['CONTEXT_PREFIX']	no value
$_SERVER['CONTEXT_DOCUMENT_ROOT']	/var/www/html
$_SERVER['SERVER_ADMIN']	[no address given]
$_SERVER['SCRIPT_FILENAME']	/var/www/html/info.php
$_SERVER['REMOTE_PORT']	64010
$_SERVER['GATEWAY_INTERFACE']	CGI/1.1
$_SERVER['SERVER_PROTOCOL']	HTTP/1.1
$_SERVER['REQUEST_METHOD']	GET
$_SERVER['QUERY_STRING']	no value
$_SERVER['REQUEST_URI']	/info.php
$_SERVER['SCRIPT_NAME']	/info.php
$_SERVER['PHP_SELF']	/info.php
$_SERVER['REQUEST_TIME_FLOAT']	1609166336.6357
$_SERVER['REQUEST_TIME']	1609166336
PHP Credits
PHP Group

all this could also be the result of 64bit os for raspberry pi being beta. i have no i dea tho

I also noticed my average load number is always above 1. Could be a issue as well

No this shows that multi-threading is working (1.0 load is 100% of 1 core). Honestly, perhaps it’s just a function in php that uses 100% CPU for some reason, this would be the first point to check. In this case, there wouldn’t be any issue of your setup.
To exclude influence of your setup, you could 1) try on a 32 bit system if that changes anything, 2) try a setup with nginx (then you have the separate php-fpm processes). But it’s quite some work to do this.