So far my experience with Nextcloud has been that it is a pain in the arse to install, and once it’s installed is slow as anything. Literally couldn’t run it on my pi 3b, now got it up and running pretty nicely on a NUC but it’s still not great. Have caching set up.
I have the notes app installed on my android phone and I can never used rich text editing because it gives timeout error.
This shouldn’t be this complicated. All I want is to de-Google my documents and notes, and self-host my kanban. I don’t really need the rest though it’s nice to have the options.
Do people use alternatives? Am I doing something completely wrong? I set it up using nginx which I know is not supported, but the alternative using Docker AIO didn’t allow me to use custom port easily.
Curious: where do I set this number?
The way I sorted it was to run nextcloud for a week, then run
ps aux
on the host and see what the memory use of a php process is. The 5th column is the memory use of a process, divide the number into the amount of memory you want PHP to use. The number fromps
is bytes, so you will need to use some maths to make it all fitin Debian running PHP-FPM in
/etc/php/{{ php_version }}/fpm/pool.d/www.conf
edit or add the below lines with the settings you needpm = dynamic pm.max_children = 8 pm.start_servers = 2 pm.min_spare_servers = 2 pm.max_spare_servers = 3
Also MySQL has some options you can change to use more or less memory, this handy tool MySQLTuner is your best way to get the options