My client application doesn’t sync, it sends an error of too many files open.
I am using Ubuntu 20.04
the client works with 18.04
Is it client side or server side that could be causing the issue?
I tried amending how many files can be open on the client, but was no solution to the issue, so i have reverted to original file setting of not stating a number. as below
/etc/systemd/user.conf
DefaultLimitNOFILE=65536
/etc/security/limits.conf
* soft nofile 65536
* hard nofile 65536
Any help or point in the right direction will be much appreciated.
I have found a workaround for the time being. IT ISN’T PRETTY.
1:
You can gradually increase the amount of files the client syncs. e.g. I syncd my documents first, then reopened the settings and clicked the videos tick box and re-sync’d, then did the same with the pictures etc.
it got to the point where it was taking ages so I tried the next step
I also solved this problem by adding the following line to the config.php file of the Nextcloud server : 'bulkupload.enabled' => false,
I have experienced this problem on several servers with different configuration and Nextcloud version 25.0.2.
The function is an optimization for small files, but the server still work pretty fast.