My server is primarily used for uploading large video files via public links. As such, we need a lot of space so I’ve set up an 8-drive Raid50 as the data directory.
For the most part it works fine for individual file uploads, (consistant 70-80MB/s up) but as soon as a file starts processing as others are being uploaded the upload speed start thrashing. I think the read/write speeds of the Raid50 may be the bottleneck, so I’ve been trying to get a secondary Raid 0 on a different raid card going as a temp upload directory as outlined here.
Though I may have that bit misunderstood, as it seems to just be a location for temporary files, not a temporary location for uploaded files. Is this correct? And is there any other way to speed up uploads while chunks are being assembled? Or is there a way to delay the assembly of chunks until all files have been downloaded?
Thanks in advance!
E
Steps to reproduce
- Upload several large files
- Wait until one or more files are being processed while the others are still uploading
Expected behaviour
File uploads continue at a slower but consistant pace
Actual behaviour
Upload speed thrashes between 0-80MB/s for the duration of the upload
Server configuration
Operating system:
Ubuntu 20.04 LTS
Web server:
Apache2
Database:
MariaDB
PHP version:
7.4
ownCloud version: (see ownCloud admin page)
10.6
Updated from an older ownCloud or fresh install:
Fresh
Where did you install ownCloud from:
Ubuntu 20.04 Quick Installation Guide
**The content of config/config.php:**
“config”: {
“instanceid”: “ocshas3sduvi”,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“trusted_domains”: [
“192.168.0.148”,
“192.168.0.148”
],
“tempdirerctory”: “/media/user/Uploads/”,
“datadirectory”: “/media/user/RAID50/owncloud/data”,
“overwrite.cli.url”: “http://192.168.0.148”,
“dbtype”: “mysql”,
“version”: “10.6.0.5”,
“dbname”: “owncloud”,
“dbhost”: “localhost”,
“dbtableprefix”: “oc_”,
“mysql.utf8mb4”: true,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“logtimezone”: “UTC”,
“files_external_allow_create_new_local”: “true”,
“apps_paths”: [
{
“path”: “/var/www/owncloud/apps”,
“url”: “/apps”,
“writable”: false
},
{
“path”: “/var/www/owncloud/apps-external”,
“url”: “/apps-external”,
“writable”: true
}
],
“installed”: true,
“memcache.local”: “\OC\Memcache\APCu”,
“memcache.locking”: “\OC\Memcache\Redis”,
“filelocking.ttl”: 36000,
“redis”: {
“host”: “127.0.0.1”,
“port”: “6379”
},
“maintenance”: false
},
“integritychecker”: {
“passing”: true,
“enabled”: true,
“result”: []
},
“core”: {
“backgroundjobs_mode”: “cron”,
“enable_external_storage”: “yes”,
“first_install_version”: “10.6.0.5”,
“installedat”: “1616533638.4573”,
“lastcron”: “1618433881”,
“lastupdateResult”: “{“version”:“10.7.0”,“versionstring”:“ownCloud 10.7.0”,“url”:“https:\/\/download.owncloud.org\/community\/owncloud-10.7.0.zip”,“web”:“https:\/\/doc.owncloud.org\/server\/10.6\/admin_manual\/maintenance\/upgrade.html”}”,
“lastupdatedat”: “1617997851”,
“public_files”: “files_sharing/public.php”,
“public_webdav”: “dav/appinfo/v1/publicwebdav.php”
},