How did you set it up and how do you run it? What are the specs of the machine you run it on. I've tried setting it up a few times, because it looks exactly like a project I'd want to self host, but its just been unusable.
I used to run it on a 4 core Celeron NUC with a measly 8 gig of ram and 1 TB SSD via the community fpm container: https://github.com/nextcloud/docker I now run it on a much more powerful system but performance wise it's the same.
Side containers
DB: I use postgres
Redis: https://github.com/dragonflydb/dragonfly as the redis container
Image processing: imaginary container maintained by the Nextcloud team
Most of this is available in the AIO setup but I prefer manually tuning things for my system
As it's a __big__ SAS product to run it well on lower end systems you MUST:
- Tune your PHP settings to your system.
- Tune your DB settings
- Set up caching properly
- Offload as much processing as possible to background processes (e.g. preview generation)
Probably tune your Proxy settings as well.
Big changes I've made:
- Switch logging to error only and syslog (not the normal file on disk) as it can hammer single disk systems.
- Switch to unix sockets for redis and the database for quite a performance boost.
Larrikin|1 year ago
dugite-code|1 year ago
Side containers DB: I use postgres Redis: https://github.com/dragonflydb/dragonfly as the redis container Image processing: imaginary container maintained by the Nextcloud team
Most of this is available in the AIO setup but I prefer manually tuning things for my system
As it's a __big__ SAS product to run it well on lower end systems you MUST:
- Tune your PHP settings to your system.
- Tune your DB settings
- Set up caching properly
- Offload as much processing as possible to background processes (e.g. preview generation)
Probably tune your Proxy settings as well.
Big changes I've made:
- Switch logging to error only and syslog (not the normal file on disk) as it can hammer single disk systems.
- Switch to unix sockets for redis and the database for quite a performance boost.