Hi,
tldr
Uploads to NC 15 (latest) instance of Official VM image that have many files (see examples below) consistently fail. Usually no error from UI, nor in any logfile I can find (high verbosity in all logs). VM installed basically with defaults no extras, powerful server not doing anything else. I can successfully upload these test files to a commercial NC server (version unknown) on owndrive.com
No issues uploading single large files or other uploads that donāt have especially large number of individual files, all uploads tested over https.
*Details
So thereās no error usually, usually just the upload progress meter is stuck midwayā¦once in a while I will get an āAn unknown error has occurredā shown in the UI.
I can watch the apache access and redis logs things seem to be humming along requests are being processed then suddenly everything stops, it almost looks like redis stops a second before apache doesā¦
There were a few things the redis log was warning about I tried changing such as increasing
net.core.somaxconn
net.ipv4.tcp_max_syn_backlog
and doing
echo never > /sys/kernel/mm/transparent_hugepage/enabled
Tried increasing redis keep alives, and a few other redis parameters with no change.
php-fpm I upped these to quite high, no effect.
pm.max_children
pm.start_servers
pm.min_spare_servers
pm.max_spare_servers
In NCs config.php I tried changing
memcache.local
from redis to use APCu, no effect.
Also upped the āmemcache.lockingā => ā\OC\Memcache\Redisā, timeout from .5 to ātimeoutā => 1.5 no effect.
Iāve stopped at this point because Iām just shooting in the dark now.
*Other info
Ubuntu 18.04 3ghz 8 core server 16 gigs mem, Raid 10 - doing nothing
VM imported to virtualbox with defaults, running headless, private network self signed https
Uploads, using either of extracted below to test:
https://openresty.org/download/openresty-1.13.6.2.tar.gz
https://download.nextcloud.com/server/releases/nextcloud-15.0.0.tar.bz2
Testing with both latest firefox and chrome, no extensions installed.
Logs checked:
NC Logging in web admin
PHP-FPM
Apache access & error
PHP (had to enable)
Redis (increased verbosity)
Postgres (enabled verbosity increased)
Thanks for any help!