Nextcloud Browser upload very slow

Hi guys

I have the problem, that the file upload in the nextcloud Webif is really slow.
I have tested many browsers in different networks… same problem
When i upload a file through the webbrowser it loads with around 900B/s.
Windows client is working fine and loads muuch faster.
The upload speed from my DSL is 10mbit. On other websites i can upload wit around 1 MB/s.

image

It´s a VPS with
Ubuntu19.10
8 core Xeon E5
30GB ram
Apache2
Mysql(mariadb)
PHP7.3

Speedtest from the server looks okey:
Testing download speed…
Download: 553.60 Mbit/s
Testing upload speed…
Upload: 512.94 Mbit/s

Here is the config.php

‘datadirectory’ => ‘/var/www/html/nextcloud/data/’,
‘dbtype’ => ‘mysql’,
‘version’ => ‘18.0.4.2’,
‘overwrite.cli.url’ => ‘domain’,
‘dbname’ => ‘nextcloud’,
‘dbhost’ => ‘localhost’,
‘dbport’ => ‘’,
‘dbtableprefix’ => ‘oc_’,
‘mysql.utf8mb4’ => true,
‘dbuser’ => ‘nextclouduser’,
‘dbpassword’ => ‘******’,
‘installed’ => true,
‘preview_max_x’ => 512,
‘preview_max_y’ => 512,
‘preview_max_scale_factor’ => 1,
‘memcache.local’ => ‘\OC\Memcache\APCu’,
‘memcache.distributed’ => ‘\OC\Memcache\Redis’,
‘redis’ => [
‘host’ => ‘127.0.0.1’,
‘port’ => 6379,
],
‘memcache.locking’ => ‘\OC\Memcache\Redis’,
‘maintenance’ => false,
‘log_type’ => ‘owncloud’,
‘logfile’ => ‘/var/log/nextcloud.log’,
‘loglevel’ => ‘2’,
‘log_rotate_size’ => ‘104857600’,
‘theme’ => ‘’,
);

hope you can help me to solve the issue…
thank you :slight_smile:

Perhaps it is not a Nextcloud problem.

Test this one-php-file-program on your webserver.
If you only use a nextcloud-instance you must temporary rename .htaccess .

https://github.com/prasathmani/tinyfilemanager

thanks for your answer :slight_smile:

the upload trough the tinyfilemanager web is fine. way faster then the upload via nextcloud web…

you have another idea what i can try to solve the problem?

regards

I think the problem must be Nextcloud or the database.
Can you while uploading test some values with top, htop, free, iotop, netstat, and post them?
Also there are some infos to performance-optimation in the internet.

here the outputs:

top:

htop:

free:
free

iotop:

netstat:

Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 localhost:41406 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40922 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41006 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41466 localhost:6379 TIME_WAIT
tcp 0 0 server:https 162.158.158.142:39662 ESTABLISHED
tcp 0 0 localhost:40946 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41110 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40840 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41318 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41254 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41020 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41398 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40698 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40816 localhost:6379 TIME_WAIT
tcp 0 0 server:55994 CH-ZRH-ANX-R018.te:5938 ESTABLISHED
tcp 0 0 localhost:41278 localhost:6379 TIME_WAIT
tcp 0 624 serverer:ssh 225-173-142-46.po:49973 ESTABLISHED
tcp 0 0 localhost:40966 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41448 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41340 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41356 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41350 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41500 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41274 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40822 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40962 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40886 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41310 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40710 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41396 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41322 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41048 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40810 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41436 localhost:6379 TIME_WAIT
tcp 0 0 server:https 162.158.158.210:54400 ESTABLISHED
tcp 0 0 localhost:41038 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41068 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41390 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41074 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41450 localhost:6379 TIME_WAIT
tcp 0 0 servere:http e3.02.9905.ip4.st:51335 SYN_RECV
tcp 0 0 localhost:41230 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41338 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41264 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40748 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41236 localhost:6379 TIME_WAIT
tcp 0 0 server:https 162.158.158.142:56016 TIME_WAIT
tcp 0 0 localhost:41040 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41184 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40836 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40820 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40954 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41270 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41284 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40702 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41320 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40932 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41076 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41114 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40790 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40938 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41052 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40974 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40834 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41364 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41178 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41302 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40720 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40750 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40942 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41462 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41174 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41026 localhost:6379 TIME_WAIT
tcp 0 1 serverer:ssh 218.92.0.206:56601 FIN_WAIT1
tcp 0 0 localhost:41510 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41468 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40958 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40944 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41080 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41376 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41128 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40688 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41016 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41002 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41522 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41392 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41352 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41186 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41362 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41182 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41164 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41130 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41458 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41424 localhost:6379 TIME_WAIT
tcp 0 0 server:https 162.158.158.142:43776 ESTABLISHED
tcp 0 0 localhost:40762 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41132 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40752 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41332 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40772 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41112 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40854 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41316 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41524 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41416 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40738 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40804 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40728 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40994 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40906 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41296 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41050 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41276 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40970 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40936 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40950 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40858 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40800 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41220 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40870 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41098 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40716 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40818 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40694 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40704 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41348 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41272 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41440 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40796 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41420 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41470 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41402 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41142 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40904 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41480 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41062 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41250 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41528 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41134 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40734 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40852 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41194 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41070 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41198 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41262 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41084 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41172 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41140 localhost:6379 TIME_WAIT
tcp 0 0 server:https 162.158.158.142:15860 ESTABLISHED
tcp 0 0 localhost:41328 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41222 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40756 localhost:6379 TIME_WAIT
tcp 0 0 servere:http f3.1d.089f.ip4.st:28726 SYN_RECV
tcp 0 0 localhost:40940 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40730 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40864 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41418 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40754 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40924 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41432 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41146 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40722 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40842 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40718 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41018 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40952 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41208 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41412 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41388 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40964 localhost:6379 TIME_WAIT
tcp 0 0 serverer:ssh 218.92.0.206:64503 ESTABLISHED
tcp 0 0 localhost:40706 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41108 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40982 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41378 localhost:6379 TIME_WAIT
tcp 0 0 localhost:5939 localhost:58770 ESTABLISHED
tcp 0 0 localhost:41166 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41022 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41266 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41260 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41206 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41066 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41298 localhost:6379 TIME_WAIT
tcp 0 0 server:https 162.158.158.142:28762 ESTABLISHED
tcp 0 0 localhost:41404 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40878 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40892 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41216 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41472 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40926 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41054 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41010 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41452 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41312 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40690 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41150 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41442 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41368 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40714 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41118 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40736 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40814 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41538 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40768 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40844 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41168 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41314 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41200 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41428 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41120 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40882 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41124 localhost:6379 TIME_WAIT
tcp 0 0 localhost:58770 localhost:5939 ESTABLISHED
tcp 0 0 localhost:41082 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41294 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41482 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41030 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41212 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41430 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41242 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40894 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40948 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41042 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41226 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41536 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41374 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41210 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41506 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41122 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41334 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40988 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41252 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41394 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41100 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41014 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41228 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41460 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40742 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41036 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41344 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41024 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41518 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40784 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40792 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40692 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41426 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41148 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40986 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40896 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40780 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41240 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41060 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40832 localhost:6379 TIME_WAIT
tcp 0 0 server:https 162.158.158.142:30524 ESTABLISHED

tcp 0 0 localhost:41438 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40898 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40956 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40856 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40788 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41382 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40900 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40726 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41106 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40976 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40744 localhost:6379 TIME_WAIT
tcp 0 0 server:https 162.158.158.142:50744 ESTABLISHED
tcp 0 0 localhost:40786 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41384 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41526 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40794 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41204 localhost:6379 TIME_WAIT
tcp 0 0 server:38792 fra16s42-in-f10.1:https ESTABLISHED
tcp 0 0 localhost:41346 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40996 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41192 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40978 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40828 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41034 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40732 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40888 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40830 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40930 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40824 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41494 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40776 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40902 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40980 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41512 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40826 localhost:6379 TIME_WAIT
tcp 0 0 server:https 162.158.158.142:14890 ESTABLISHED
tcp 0 0 localhost:41092 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41454 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41196 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41144 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41324 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41496 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41408 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40862 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41028 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41386 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40910 localhost:6379 TIME_WAIT
tcp 0 0 serverer:ssh 218.92.0.206:63083 ESTABLISHED
tcp 0 0 localhost:40872 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41012 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41180 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41258 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40850 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41234 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41326 localhost:6379 TIME_WAIT
tcp 0 705 server:https 162.158.158.142:11008 ESTABLISHED
tcp 0 0 localhost:40746 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40684 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41286 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40984 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40914 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41102 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41160 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41086 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41224 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41534 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40916 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40766 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41516 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41292 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41256 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41248 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40890 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40920 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41246 localhost:6379 TIME_WAIT
tcp 0 0 servere:http e3.02.9905.ip4.st:33606 SYN_RECV
tcp 0 0 localhost:41078 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41304 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41514 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41372 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40700 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41096 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41004 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40918 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40760 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41434 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40764 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40928 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41366 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41474 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41492 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41484 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41520 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41414 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40880 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41330 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41400 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40778 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41282 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40868 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40848 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41190 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41288 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41336 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41116 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41064 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41444 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41464 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41532 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41154 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41188 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41176 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41300 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40960 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40990 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41498 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41244 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41214 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41370 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41446 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41232 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41478 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41056 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40884 localhost:6379 TIME_WAIT
tcp 0 0 server:https 162.158.158.226:28394 ESTABLISHED
tcp 0 0 localhost:41308 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41456 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41238 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41152 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40806 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41486 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40808 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41342 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40866 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41360 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40874 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41008 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41162 localhost:6379 TIME_WAIT
tcp 0 0 server:44596 fra16s24-in-f10.1:https ESTABLISHED
tcp 0 0 localhost:40992 localhost:6379 TIME_WAIT
tcp 0 0 servere:http 88.41.0a05.ip4.st:49820 SYN_RECV
tcp 0 0 localhost:40998 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41218 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41530 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40876 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41090 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40708 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40802 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41136 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41508 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41476 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40812 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41306 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41290 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41158 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41422 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40696 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41046 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40798 localhost:6379 TIME_WAIT
tcp 0 0 servere:http 88.41.0a05.ip4.st:18940 SYN_RECV
tcp 0 0 localhost:41170 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40774 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41268 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41354 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41202 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40934 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41094 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40724 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40846 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41156 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41490 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41410 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41280 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40968 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41358 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40686 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41126 localhost:6379 TIME_WAIT
tcp 0 0 servere:http 88.41.0a05.ip4.sta:1903 SYN_RECV
tcp 0 0 localhost:40758 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40770 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40912 localhost:6379 TIME_WAIT
tcp 0 0 server:https 141.101.98.73:60762 ESTABLISHED
tcp 0 0 localhost:40712 localhost:6379 TIME_WAIT
tcp 0 0 server:https 162.158.158.142:31722 ESTABLISHED
tcp 0 0 localhost:41032 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40782 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41488 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40972 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41138 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40838 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41380 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41000 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40740 localhost:6379 TIME_WAIT
tcp 0 0 localhost:40908 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41504 localhost:6379 TIME_WAIT
tcp 0 0 localhost:41502 localhost:6379 TIME_WAIT
tcp 0 0 servere:http 8a.41.0a05.ip4.st:55816 SYN_RECV
tcp 0 0 servere:http 8b.41.0a05.ip4.st:24164 SYN_RECV
tcp 0 0 servere:http 8b.41.0a05.ip4.st:24164 SYN_RECV
sctp servererver .net:3478 LISTEN
sctp servererver .net:3478 LISTEN
sctp servererver .net:3478 LISTEN
sctp servererver .net:3478 LISTEN
sctp servererver .net:3478 LISTEN
sctp servererver .net:3478 LISTEN
sctp servererver .net:3478 LISTEN
sctp servererver .net:3478 LISTEN

A lot of sockets. Perhaps you can find the processes with lsof (must install):
lsof
lsof -i

And you use swap. Please deactivate swap

swapoff -a
test with
free
Perhaps deactivate permanently or set other values.

Perhaps you can also temporary deactivate “rclone”-processes because of memory.

the port 6379 was used by redis. I stopped redis and removed it from the nextcloud config.

and swap is now deactivated

I´m still facing the problem…
other ideas?

lsof -i:

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
systemd-r 621 systemd-resolve 12u IPv4 19355 0t0 UDP localhost:domain
systemd-r 621 systemd-resolve 13u IPv4 19356 0t0 TCP localhost:domain (LISTEN)
avahi-dae 673 avahi 12u IPv4 16021 0t0 UDP *:mdns
avahi-dae 673 avahi 13u IPv6 16022 0t0 UDP *:mdns
avahi-dae 673 avahi 14u IPv4 16023 0t0 UDP *:56273
avahi-dae 673 avahi 15u IPv6 16024 0t0 UDP *:55982
tvheadend 786 root 5u IPv4 23480 0t0 TCP *:9981 (LISTEN)
tvheadend 786 root 6u IPv4 23484 0t0 TCP *:9982 (LISTEN)
tvheadend 786 root 28u IPv4 27885 0t0 UDP 239.255.255.250:1900
tvheadend 786 root 30u IPv4 27888 0t0 UDP *:43008
jellyfin 789 jellyfin 281u IPv6 23485 0t0 TCP *:8096 (LISTEN)
jellyfin 789 jellyfin 292u IPv4 23499 0t0 UDP *:1900
jellyfin 789 jellyfin 301u IPv4 23531 0t0 UDP *:53366
jellyfin 789 jellyfin 302u IPv4 23532 0t0 UDP server:36843
jellyfin 789 jellyfin 307u IPv4 27458 0t0 UDP localhost:42254
jellyfin 789 jellyfin 308u IPv4 27459 0t0 UDP server:47964
jellyfin 789 jellyfin 309u IPv4 27460 0t0 UDP server:54286
jellyfin 789 jellyfin 310u IPv4 27472 0t0 UDP localhost:51752
jellyfin 789 jellyfin 311u IPv4 27473 0t0 UDP server:60952
jellyfin 789 jellyfin 312u IPv4 27474 0t0 UDP server:57004
jellyfin 789 jellyfin 313u IPv4 27475 0t0 UDP *:7359
sshd 854 root 3u IPv4 22925 0t0 TCP *:ssh (LISTEN)
sshd 854 root 4u IPv6 22927 0t0 TCP *:ssh (LISTEN)
tor 908 debian-tor 6u IPv4 1918 0t0 TCP localhost:9050 (LISTEN)
mysqld 952 mysql 18u IPv4 23804 0t0 TCP localhost:mysql (LISTEN)
openvpn 1010 nobody 7u IPv4 2026 0t0 UDP *:openvpn
teamviewe 1033 root 11u IPv4 15235 0t0 TCP localhost:5939 (LISTEN)
teamviewe 1033 root 13u IPv4 23809 0t0 TCP server:55994->CH-ZRH-ANX-R018.teamviewer.com:5938 (ESTABLISHED)
teamviewe 1033 root 17u IPv4 162287 0t0 TCP localhost:5939->localhost:58770 (ESTABLISHED)
turnserve 13079 turnserver 33u IPv4 1533474 0t0 TCP server:3478 (LISTEN)
turnserve 13079 turnserver 34u IPv4 1534508 0t0 TCP server:3478 (LISTEN)
turnserve 13079 turnserver 35u IPv4 1531323 0t0 TCP server:3478 (LISTEN)
turnserve 13079 turnserver 36u IPv4 1532581 0t0 TCP server:3478 (LISTEN)
turnserve 13079 turnserver 45u IPv4 1537124 0t0 TCP server:3478 (LISTEN)
turnserve 13079 turnserver 52u IPv4 1532584 0t0 TCP server:3478 (LISTEN)
turnserve 13079 turnserver 53u IPv4 1531326 0t0 TCP server:3478 (LISTEN)
turnserve 13079 turnserver 55u IPv4 1533477 0t0 TCP server:3478 (LISTEN)
turnserve 13079 turnserver 56u IPv4 1536109 0t0 UDP server:3478
turnserve 13079 turnserver 57u IPv4 1536110 0t0 UDP server:3478
turnserve 13079 turnserver 58u IPv4 1536111 0t0 UDP server:3478
turnserve 13079 turnserver 59u IPv4 1536112 0t0 UDP server:3478
turnserve 13079 turnserver 60u IPv4 1536113 0t0 UDP server:3478
turnserve 13079 turnserver 61u IPv4 1536114 0t0 UDP server:3478
turnserve 13079 turnserver 62u IPv4 1536115 0t0 UDP server:3478
turnserve 13079 turnserver 63u IPv4 1536116 0t0 UDP server:3478
apache2 15853 root 3u IPv4 1556926 0t0 TCP *:http (LISTEN)
apache2 15853 root 4u IPv4 1556928 0t0 TCP *:https (LISTEN)
apache2 16031 www-data 3u IPv4 1556926 0t0 TCP *:http (LISTEN)
apache2 16031 www-data 4u IPv4 1556928 0t0 TCP *:https (LISTEN)
apache2 16781 www-data 3u IPv4 1556926 0t0 TCP *:http (LISTEN)
apache2 16781 www-data 4u IPv4 1556928 0t0 TCP *:https (LISTEN)
apache2 16945 www-data 3u IPv4 1556926 0t0 TCP *:http (LISTEN)
apache2 16945 www-data 4u IPv4 1556928 0t0 TCP *:https (LISTEN)
apache2 16952 www-data 3u IPv4 1556926 0t0 TCP *:http (LISTEN)
apache2 16952 www-data 4u IPv4 1556928 0t0 TCP *:https (LISTEN)
apache2 17005 www-data 3u IPv4 1556926 0t0 TCP *:http (LISTEN)
apache2 17005 www-data 4u IPv4 1556928 0t0 TCP *:https (LISTEN)
apache2 17005 www-data 14u IPv4 1574082 0t0 TCP server:https->162.158.155.95:9566 (ESTABLISHED)
apache2 17011 www-data 3u IPv4 1556926 0t0 TCP *:http (LISTEN)
apache2 17011 www-data 4u IPv4 1556928 0t0 TCP *:https (LISTEN)
apache2 17014 www-data 3u IPv4 1556926 0t0 TCP *:http (LISTEN)
apache2 17014 www-data 4u IPv4 1556928 0t0 TCP *:https (LISTEN)
apache2 17017 www-data 3u IPv4 1556926 0t0 TCP *:http (LISTEN)
apache2 17017 www-data 4u IPv4 1556928 0t0 TCP *:https (LISTEN)
apache2 17017 www-data 14u IPv4 1574085 0t0 TCP server:https->162.158.158.226:34100 (ESTABLISHED)
apache2 17133 www-data 3u IPv4 1556926 0t0 TCP *:http (LISTEN)
apache2 17133 www-data 4u IPv4 1556928 0t0 TCP *:https (LISTEN)
apache2 17143 www-data 3u IPv4 1556926 0t0 TCP *:http (LISTEN)
apache2 17143 www-data 4u IPv4 1556928 0t0 TCP *:https (LISTEN)
apache2 17143 www-data 14u IPv4 1574075 0t0 TCP server:https->141.101.98.71:23924 (ESTABLISHED)
oscam 17883 root 4u IPv6 1574092 0t0 TCP *:8888 (LISTEN)
sshd 17890 root 4u IPv4 1574094 0t0 TCP server:ssh->mail.visual.com.py:50822 (ESTABLISHED)
sshd 17891 sshd 4u IPv4 1574094 0t0 TCP server:ssh->mail.visual.com.py:50822 (ESTABLISHED)
TeamViewe 18009 www-data 27u IPv4 157298 0t0 TCP localhost:58770->localhost:5939 (ESTABLISHED)
sshd 28796 root 4u IPv4 1311381 0t0 TCP server:ssh->225-173-142-46.pool.kielnet .net:49973 (ESTABLISHED)

Without redis, file locking will be written in your database which is way less efficient and slows down your file transfers.

Check your database cache settings, you have enough RAM left, so this can speed up things a lot. There are a few topics here, checkout tuning-primer.sh, mysqltuner.pl, …

thanks for your help :slight_smile:

i solved the problem with a fresh reinstall