# Limited upload speed on docker container

**URL:** <https://help.nextcloud.com/t/limited-upload-speed-on-docker-container/107739>\
**Category:** ℹ️ Support\
**Created:** [February 13, 2021, 4:55am UTC](https://help.nextcloud.com/t/limited-upload-speed-on-docker-container/107739 "2021-02-13T04:55:09Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [April 2, 2021, 7:43pm UTC](https://help.nextcloud.com/t/limited-upload-speed-on-docker-container/107739/14 "2021-04-02T19:43:25Z")

</div>

i use docker-compose similar to [this](https://help.nextcloud.com/t/totally-baffled-how-to-get-started-newbie-alert/112181/24). There are few additional settings I didn’t mentioned in that post (but most likely this is not the reason for the performance gap):

## ./nextcloud/php/conf.d/uploads.ini

> memory\_limit=512M  
> upload\_max\_filesize = 500M  
> post\_max\_size = 500M

## ./nextcloud/db-config/my.cnf

> [server]  
> skip-name-resolve  
> innodb\_buffer\_pool\_size = 256M  
> innodb\_buffer\_pool\_instances = 1  
> innodb\_flush\_log\_at\_trx\_commit = 2  
> innodb\_flush\_log\_at\_timeout = 5  
> innodb\_log\_buffer\_size = 32M  
> innodb\_max\_dirty\_pages\_pct = 75  
> query\_cache\_type = 1  
> query\_cache\_limit = 2M  
> query\_cache\_min\_res\_unit = 2k  
> query\_cache\_size = 16M #was 64M, tuning primer said mybe less  
> tmp\_table\_size= 64M  
> max\_heap\_table\_size= 64M  
> slow-query-log = 1  
> slow-query-log-file = /var/log/mysql/slow.log  
> long\_query\_time = 1  
> max\_connections = 250  
> join\_buffer\_size = 1M  
> key\_buffer = 64M  
> [client]  
> default-character-set = utf8mb4  
> [mysqld]  
> character-set-server = utf8mb4  
> collation-server = utf8mb4\_general\_ci  
> transaction\_isolation = READ-COMMITTED  
> binlog\_format = ROW  
> innodb\_large\_prefix=on  
> innodb\_file\_format=barracuda  
> innodb\_file\_per\_table=1  
> default\_authentication\_plugin=mysql\_native\_password  
> max\_binlog\_size = 134217728  
> expire\_logs\_days = 3

I understand you tried made the tests using one big file - this is what I did as well. I have to admit I moved my NC to real PC few weeks ago - it is equipped with Core i3 6th Gen, 16GB RAM, whole Docker Nextcloud is on magnetic HDD (traefik as well) . I believe this more powerful as Odroid but may be I’m wrong. I don’t remember exactly but I think I got 50-70MB/s syncing big files with Qnap NAS (Celeron) with NC19. I didn’t made lot of testing with NC21 on Qnap but from my feeling the sync was same as on 19..

---

_[View the full topic](https://help.nextcloud.com/t/limited-upload-speed-on-docker-container/107739)._
