My up/download speed is constantly droping

Hello, I’ve searched for simillar topics and while I found some, I was not able to solve my issue which is:

While I maintain almost constant download speed (about 30 MB/s) , my upload speed is varying by a lot (few seconds about 12-13 MB/s then drops to 1-2 MB/s for a few seconds and that repeats as a loop). I’ve read something about chunk size and caching but I wouldn’t be able to implement anything. However, I think my problem would be somewhere else, because I am not even close enoigh to my download speed (I think up and down speed should be simillar). So what is crucial for uploading? I am listing my system parameters so you can give an advice what to improve if needed:

NC running on physical Ubuntu machine

Operating System: Linux 5.13.0-51-generic x86_64
CPU: Intel(R) Core™ i3-2100 CPU @ 3.10GHz (4 cores)
Memory: 15.34 GB

HDD - 2x Seagate Ironwolf NAS 4TB connected in RAID, so only 4TB available

In my logging I get this error which I don’t know if it is relevant to the issue I am trying to solve now:

Error scss_cacher OCP\Files\NotPermittedException:

[scss_cacher] Error: OCP\Files\NotPermittedException:  at <<closure>>

 0. /var/www/nextcloud/lib/private/Files/SimpleFS/SimpleFile.php line 149
    OC\Files\Node\File->delete()
 1. /var/www/nextcloud/lib/private/Template/SCSSCacher.php line 386
    OC\Files\SimpleFS\SimpleFile->delete()
 2. /var/www/nextcloud/lib/private/Template/SCSSCacher.php line 278
    OC\Template\SCSSCacher->resetCache()
 3. /var/www/nextcloud/lib/private/Template/SCSSCacher.php line 142
    OC\Template\SCSSCacher->variablesChanged()
 4. /var/www/nextcloud/lib/private/Template/CSSResourceLocator.php line 109
    OC\Template\SCSSCacher->process()
 5. /var/www/nextcloud/lib/private/Template/CSSResourceLocator.php line 61
    OC\Template\CSSResourceLocator->cacheAndAppendScssIfExist()
 6. /var/www/nextcloud/lib/private/Template/ResourceLocator.php line 78
    OC\Template\CSSResourceLocator->doFind()
 7. /var/www/nextcloud/lib/private/TemplateLayout.php line 342
    OC\Template\ResourceLocator->find()
 8. /var/www/nextcloud/lib/private/TemplateLayout.php line 250
    OC\TemplateLayout::findStylesheetFiles()
 9. /var/www/nextcloud/lib/private/legacy/OC_Template.php line 185
    OC\TemplateLayout->__construct()
10. /var/www/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php line 204
    OC_Template->fetchPage()
11. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 178
    OCP\AppFramework\Http\TemplateResponse->render()
12. /var/www/nextcloud/lib/private/AppFramework/App.php line 172
    OC\AppFramework\Http\Dispatcher->dispatch()
13. /var/www/nextcloud/lib/private/Route/Router.php line 298
    OC\AppFramework\App::main()
14. /var/www/nextcloud/lib/base.php line 1023
    OC\Route\Router->match()
15. /var/www/nextcloud/index.php line 36
    OC::handleRequest()

GET /index.php/apps/dashboard/
from 212.39.81.108 by flyacademy at 2022-07-14T07:32:59+00:00

*Notice!
All tests were made with a single big file (5GB for example).
All tests were made from several networks, including local (ethernet and wifi) and remote.

I don’t observe such issues in my installation running docker and similar server specs as yours. As you did the tests with one file things like database overhead should have little impact most likely the problem is somehow related to the IO maybe disk speeds. try to isolate the issue by monitoring usage of single subsystems (network, disk) to find the bottleneck.

1 Like