Hacker News new | ask | show | jobs
by dugite-code 476 days ago
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.

1 comments

I’ve never done much in the way of tuning Nextcloud, but I do enable APCu and Redis. I also ditched MariaDB years ago and moved to PostgreSQL.

It definitely isn’t so slow it is unusable, limited to 2 cores of an Intel N95 CPU and 2GB RAM.

I have often wonder if some apps drag the whole thing down because my experience doesn’t seem to be universal. That dashboard thing had to go, and the talk app was never something I was interested in either.

I’ve been running it since it was OwnCloud and never really have upgrade issues either. YMMV.