# New Nextcloud 22.1.1 installation slow up-download speed

**URL:** <https://help.nextcloud.com/t/new-nextcloud-22-1-1-installation-slow-up-download-speed/123039>\
**Category:** ℹ️ Support\
**Tags:** nc22\
**Created:** [September 3, 2021, 8:18am UTC](https://help.nextcloud.com/t/new-nextcloud-22-1-1-installation-slow-up-download-speed/123039 "2021-09-03T08:18:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rothammel](https://help.nextcloud.com/letter_avatar/rothammel/32/5_5575768a8748004e209b776fc1b2916d.png) [@Rothammel](https://help.nextcloud.com/u/Rothammel)\
**Post date:** [September 3, 2021, 8:18am UTC](https://help.nextcloud.com/t/new-nextcloud-22-1-1-installation-slow-up-download-speed/123039/1 "2021-09-03T08:18:34Z")

</div>

> **Support intro**
>
> Sorry to hear you’re facing problems 🙁
> 
> _**[help.nextcloud.com](http://help.nextcloud.com) is for home/non-enterprise users. If you’re running a business, paid support can be accessed via [portal.nextcloud.com](http://portal.nextcloud.com) where we can ensure your business keeps running smoothly.**_
> 
> In order to help you as quickly as possible, before clicking **Create Topic** please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
> 
> ```
> example
> 
> ```
> 
> Or for longer, use three backticks above and below the code snippet:
> 
> ```auto
> longer
> example
> here
> 
> ```
> 
> Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can ❤

Nextcloud version _(eg, 20.0.5)_: 22.1.1  
Operating system and version _(eg, Ubuntu 20.04)_: ubuntu 20.04 VM  
Apache or nginx version _(eg, Apache 2.4.25)_: Apache/2.4.41  
PHP version _(eg, 7.4)_: PHP 7.4.3, Zend Engine v3.4.0, OPcache v7.4.3  
swap on the VM is turned off  
Up and download speed is only 40-50mbyt/s

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

```auto
<?php
$CONFIG = array (
  'passwordsalt' => 'ijpH*So/XNk',
  'secret' => 'hcw*sH',
  'trusted_domains' =>
  array (
    0 => 'localhost',
    1 => '192.168.0.6',
    2 => 'stan.selfhost.eu',
  ),
  'datadirectory' => '/mnt/hdd/ncdata',
  'dbtype' => 'pgsql',
  'version' => '22.1.1.2',
  'overwrite.cli.url' => 'https://stan.selfhost.eu/',
  'dbname' => 'nextcloud_db',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'ncadmin',
  'dbpassword' => 'yb*s5X',
  'installed' => true,
  'instanceid' => 'ocwffucx12ko',
  'upgrade.disable-web' => true,
  'log_type' => 'file',
  'logfile' => '/var/log/nextcloud/nextcloud.log',
  'loglevel' => '2',
  'log.condition' =>
  array (
    'apps' =>
    array (
      0 => 'admin_audit',
    ),
  ),
  'mail_smtpmode' => 'smtp',
  'remember_login_cookie_lifetime' => '1800',
  'log_rotate_size' => '10485760',
  'trashbin_retention_obligation' => 'auto, 60',
  'versions_retention_obligation' => 'auto, 180',
  'activity_expire_days' => '120',
  'simpleSignUpLink.shown' => false,
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'filelocking.enabled' => true,
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '/var/run/redis/redis-server.sock',
    'port' => 0,
    'timeout' => 0.5,
    'dbindex' => 0,
    'password' => '0N*OVf',
  ),
  'default_phone_region' => 'de',
  'logtimezone' => 'Etc/UTC',
  'htaccess.RewriteBase' => '/',
  'maintenance' => false,
  'app_install_overwrite' =>
  array (
    0 => 'previewgenerator',
  ),
);

```

screenshots:  
 ![slow upload](https://help.nextcloud.com/uploads/default/original/3X/7/1/71fdb7be6cdb9ef827e90184eefd673b024e238f.png)

htop on VM:

 ![htop](https://help.nextcloud.com/uploads/default/original/3X/8/2/8214200a9843f2f8c2d48efdd243225a625a94e2.png)

nmon on VM:  
 ![nmon](https://help.nextcloud.com/uploads/default/original/3X/a/1/a1f323fb4014be717f1c5d241e1495df3157af0e.png)

nmon and fio on host:

 ![fio](https://help.nextcloud.com/uploads/default/original/3X/a/c/ace45e6cc17162ae1e91f6fd21cbef73bf6fb8a2.png)

---

<div class="post-metadata">

**Author:** ![bb77](https://help.nextcloud.com/letter_avatar/bb77/32/5_5575768a8748004e209b776fc1b2916d.png) [@bb77](https://help.nextcloud.com/u/bb77)\
**Post date:** [September 3, 2021, 9:50am UTC](https://help.nextcloud.com/t/new-nextcloud-22-1-1-installation-slow-up-download-speed/123039/2 "2021-09-03T09:50:01Z")

</div>

> [@Rothammel](#):
>
> Up and download speed is only 40-50mbyt/s

Hi @Rothammel

I wouldn’t call it slow, but rather what you should expect. I tested it with my server by uploading a few Linux ISOs (I didn’t have a 100GB file at hand 😉 ) and I get similar transfer speeds. Maybe others here have some tips how to optimize this a bit more, or you can search the forum for similiar threads. But you will not get the full 1Gbit or whatever the raw bandwith of your network is. That much I can say for sure.

---

<div class="post-metadata">

**Author:** ![Rothammel](https://help.nextcloud.com/letter_avatar/rothammel/32/5_5575768a8748004e209b776fc1b2916d.png) [@Rothammel](https://help.nextcloud.com/u/Rothammel)\
**Post date:** [September 3, 2021, 11:17am UTC](https://help.nextcloud.com/t/new-nextcloud-22-1-1-installation-slow-up-download-speed/123039/3 "2021-09-03T11:17:59Z")

</div>

oh no, in the past I had a version 21 installation with an i5 and zpool, zfs + raidz.  
and with the zfs stuff and so on, it performed very well:

![WhatsApp Image 2021-03-13 at 19.02.57](https://help.nextcloud.com/uploads/default/original/3X/8/b/8b9f85abab18e155bf222e8cd5fd1bd46c943214.jpeg)

![WhatsApp Image 2021-03-13 at 19.03.01](https://help.nextcloud.com/uploads/default/original/3X/2/5/252d654d9a9dbe0648172ea04c072090973a596f.jpeg)

but it was the maximum:  
htop:  
 ![WhatsApp Image 2021-03-13 at 18.57.52](https://help.nextcloud.com/uploads/default/original/3X/a/2/a28cf8a72e5b9f24f6cfbd81cb4a7a32a14b5242.jpeg)

Why php-fpm used so much cpu power?  
And why did so many processes with pool Nextcloud run in the past and now only one?

---

<div class="post-metadata">

**Author:** ![bb77](https://help.nextcloud.com/letter_avatar/bb77/32/5_5575768a8748004e209b776fc1b2916d.png) [@bb77](https://help.nextcloud.com/u/bb77)\
**Post date:** [September 3, 2021, 11:56am UTC](https://help.nextcloud.com/t/new-nextcloud-22-1-1-installation-slow-up-download-speed/123039/4 "2021-09-03T11:56:16Z")

</div>

That’s indeed much better and near line speed… I’m not an expert when it comes to this and there are many factors involved. Network, storage, CPU, memory, webserver, PHP (caching, chunk size etc). Perhaps other forum participants have tips for you on how you can optimize this… Or try search the forums. The performance topic comes up here from time to time…

---

<div class="post-metadata">

**Author:** ![Rothammel](https://help.nextcloud.com/letter_avatar/rothammel/32/5_5575768a8748004e209b776fc1b2916d.png) [@Rothammel](https://help.nextcloud.com/u/Rothammel)\
**Post date:** [September 9, 2021, 1:17pm UTC](https://help.nextcloud.com/t/new-nextcloud-22-1-1-installation-slow-up-download-speed/123039/5 "2021-09-09T13:17:58Z")

</div>

updates my friends:  
write speed with smb running on the VM:  
 ![smb nmon](https://help.nextcloud.com/uploads/default/original/3X/4/0/4067c10751aef4806fde14d146bf82860d69a663.png)

 ![file](https://help.nextcloud.com/uploads/default/original/3X/7/a/7a31888b43ddad8123da2c7352e5d46c76f4566f.png)

its not linespeed, but not so bad

---

<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:** [December 13, 2024, 10:40am UTC](https://help.nextcloud.com/t/new-nextcloud-22-1-1-installation-slow-up-download-speed/123039/6 "2024-12-13T10:40:37Z")

</div>



---

<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:** [December 13, 2024, 10:40am UTC](https://help.nextcloud.com/t/new-nextcloud-22-1-1-installation-slow-up-download-speed/123039/7 "2024-12-13T10:40:38Z")

</div>


