From years for little exigence, I use cloud solution on a vitualbox machine, that write data on a virtualbox shared folder. 3-4 users with 50GB each and thousands of file. All ok. Actually I passed to debian 9, last nexcloud version where seems that the sync speed from clients is implemented and I have continuous system crash (guest nextcloud machine) just when I upload data to sync.
After a long search I found this:
One of the most important answers is right there - if you’re on a Linux host and doing heavy disk I/O, do not use the host cache for the VMs, ever. The Linux I/O subsystem not very smart, it batches gobs of dirty pages in the filesystem cache, and when it runs out of free memory, flushes out everything to disk. That can take quite a long time (minutes) and there’s nothing VirtualBox can do about it.
What can I do, to limit the write speed on disk in nextcloud? Who found solutions for this?
Details of the issue here: