Hi
For parallel upload control: set enviroment variable (in the client machine) OWNCLOUD_MAX_PARALLEL to the value you want. If you set it to 1 , only one file transfer, no parallelism.
Hi,
sorry for being unclear about filesize.
I didnt sync files >2GB, but I also didn’t want to do the tedious job of manually excluding all files >2GB. Obviously that wasn’t a good idea…
Hi Edson
It’s an enviroment variable. You have to set it in Windows, not in client source code neither in nextcloud.cf. Google “windows set environment variable” to find out how.
Thanks for the input and noted
I know Win env variables, those are “easy” but google is always kind enough when in doubt I think I will give it a try after testing using the “normal” environ test methodology + the latest dev-test image from @nachoparker
While preparing the environment for testing, I was just uploading my last 1.2GB file to NC via webUI and it stopped analyzing the NC logs I see the the file is locked… It was just 1 file upload
Anyway, let me get this sorted, back my NC files and then start the test with that image you sent.
root@nextcloudpi:/media# tail -f /var/log/redis/redis-server.log
642:M 06 Nov 20:49:50.684 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
642:M 06 Nov 20:49:50.684 # Server started, Redis version 3.2.6
642:M 06 Nov 20:49:50.695 * DB loaded from disk: 0.010 seconds
642:M 06 Nov 20:49:50.695 * The server is now ready to accept connections at /var/run/redis/redis.sock
642:M 08 Nov 17:24:54.530 * 1 changes in 900 seconds. Saving...
642:M 08 Nov 17:24:54.531 * Background saving started by pid 1035
1035:C 08 Nov 17:24:54.880 * DB saved on disk
1035:C 08 Nov 17:24:54.883 * RDB: 0 MB of memory used by copy-on-write
642:M 08 Nov 17:24:54.933 * Background saving terminated with success
642:M 08 Nov 17:29:55.078 * 10 changes in 300 seconds. Saving...
642:M 08 Nov 17:29:55.079 * Background saving started by pid 3438
3438:C 08 Nov 17:29:55.335 * DB saved on disk
3438:C 08 Nov 17:29:55.338 * RDB: 0 MB of memory used by copy-on-write
642:M 08 Nov 17:29:55.381 * Background saving terminated with success
Everything looking smooth here :S
edit: testing with 8 GBs of NextCloudPi images (~800MB each)
Well, I am testing it now anyway, let’s wait until I finish some testing and if the performance is good for me, we can try a normal image with redis (that works for you) using the windows sync client
Testing looking good so far from the web UI. Old USB harddrive
I uploaded 500 wallpapers totalling 250MB with no issue. Upload was slow on average and there was some I/O blocking in the mysqld process. Upload average around 500 KiBps.
Uploading 10 ~800 MB images (so 8GB) was working well at full speed ( 11 MiBps in my home non giga network by ethernet). No issues here.
Also tried with a bigger 1.5 GB image, all fine
I will compare this to the latest image without redis.
At least it seems like there are no regressions. I will test a bit more and this already looks good to include in the next release.
It started to look more stable but I notice that the transfer stopped and the I could not open the UI… when I manage to open it 20-30 seconds later that cron ran a few seconds ago. I also saw a few errors in the logs: