-1
why is Nextcloud so slow? (forum.bruvland.com)
submitted 1 year ago* (last edited 1 year ago) by invaliduser@forum.bruvland.com to c/selfhosted@lemmy.world

I have setup so many instances over the months on different servers and the web ui always takes 40s to a minute to load per page I have always used redis for caching and the best methods even the aio docker image(s) are really slow.

kind of just been living with it for the past month or so but its really annoying when others are saying theirs takes seconds to load.

edit: totally didn’t forget to include a body

top 21 comments
sorted by: hot top controversial new old
[-] ShittyKopper@lemmy.w.on-t.work 5 points 1 year ago

Because it's ✨ modern ✨ and ✨ enterprise ✨

Most new software not explicitly made for and by hobbyists will assume "just throw more hardware at it" to be a valid solution to inefficiency, and unfortunately Nextcloud (especially with any of the office extensions) seems to be heading that way.

[-] StefanT@lemmy.world 4 points 1 year ago

You know their tuning page? I did several of their suggestions and they helped me. https://docs.nextcloud.com/server/latest/admin_manual/installation/server_tuning.html

[-] anteaters@feddit.de 4 points 1 year ago

Cannot confirm this. For me nextcloud us very snappy and fast.

[-] humancrayon@sh.itjust.works 1 points 1 year ago* (last edited 1 year ago)

I am with you as well. I’ve had my instance up for 3 years on 4 cores and 8GB ram and each page loads in seconds. I’m not running anything crazy on it either (stock + 3ish extras). Hard drives are 4x sas in raid10.

[-] MaggiWuerze@feddit.de 2 points 1 year ago

What Hardware are you using? My nextcloud takes at most a couple seconds and has only been getting faster these last few updates.

[-] RandomLegend@lemmy.dbzer0.com 2 points 1 year ago

...this is a new low for low-effort posts.

Wow.

[-] invaliduser@forum.bruvland.com 2 points 1 year ago

haha sorry still getting the hang of lemmy and accidently submitted it with no body

[-] RandomLegend@lemmy.dbzer0.com 1 points 1 year ago

Then, sorry - i thought this was a legitimate shtpost.

[-] Riktastic@laguna.chat 2 points 1 year ago

Have you tried integrating a caching mechanism? Or tried assigning more memory to PHP?

[-] poVoq@slrpnk.net 2 points 1 year ago

Uhm, you will need to tell us more about your hardware or setup.

I wouldn't describe my Nextcloud as especially fast or optimized, but it is only around 20s from the login screen to being able to use it. And once you are logged in it is quite fast.

[-] invaliduser@forum.bruvland.com 0 points 1 year ago

i have used all sort of hardware from a pi 4 to a vm on dell server with 2 vcpus and 8GB ram and now a vm on a custom server with 4 vcpus of a AMD Ryzen 9 5900X and 8GB ram using the docker aio I havent messed with it yet because i expected it to work

[-] poVoq@slrpnk.net 0 points 1 year ago

You are using normal database like Postgres and it runs on a SSD?

[-] invaliduser@forum.bruvland.com 0 points 1 year ago

using mariadb for my bare metal one that runs on a hdd but no clue what the docker one uses and that is on a SSD

[-] poVoq@slrpnk.net 1 points 1 year ago

The best is to run the database on an SSD, but move the data directory to a HDD for more storage.

[-] Auli@lemmy.ca 1 points 1 year ago* (last edited 1 year ago)

What database? I use Mariadb as a backend and have never had slowness like you describe. I guess also how many files?

[-] johntash@eviltoast.org 1 points 1 year ago

What kind of hardware are you using?

Nextcloud does need some tuning by default, specifically the php, nginx/apache, and database settings so that they all make use of more resources and some stuff like cache headers or opcode caching.

If you haven't used it yet, I think the AIO installation of nextcloud includes a lot of config optimization by default. I don't have experience with it, but probably worth a try?

I'm pretty sure the database tuning is what made the biggest difference to me.

[-] MangoPenguin@lemmy.blahaj.zone 1 points 1 year ago

I've experienced the same, even the hosted/paid instances Nextcloud recommends are very slow.

I think it's just not built to be fast.

[-] Moonrise2473@feddit.it 1 points 1 year ago

On my server it's way much faster than WordPress (ok, being faster than the most bloated CMS is not that hard...)

[-] restlessyet@discuss.tchncs.de 0 points 1 year ago

If you only want online file storage and sync, you may want to try Seafile. It's a lot faster and has been rock solid since 10+ years for me. Not viable if you need some of the many nextcloud exentions though

[-] VindianaJones@kbin.social 1 points 1 year ago

I have the same issues with Nextcloud as OP, regardless of the hardware it's running on or what kind of optimizations I've done, but I've always hesitated to use Seafile because it doesn't keep the files in tact. They are chunked/encrypted or something else, which I'm sure helps performance, but I really value having my files just be regular files with Nextcloud, so if I ever want to take them out of Nextcloud without the help of the application, I can just do that.

I wish Seafile had an option to maintain the file integrity. If it did, I would definitely give it another try.

[-] restlessyet@discuss.tchncs.de 1 points 1 year ago

Yeah the files are stored in blocks. It helps deduplicating and for syncing partial files/change. If your concern is just with being able to copy the files away, there is seaf-fuse, which lets you mount it as a local filesystem: https://manual.seafile.com/extension/fuse/

load more comments
view more: next ›
this post was submitted on 24 Jun 2023
-1 points (33.3% liked)

Selfhosted

39264 readers
540 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS