this post was submitted on 27 Nov 2023
9 points (100.0% liked)

Self-Hosted Main

504 readers
1 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.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

I am hosting more than 10 services currently but only Nextcloud sends me errors periodically and only Nextcloud is super extremely painfully slow. I quit this sh*t. No more troubleshooting and optimization.

There are mainly 4 services in Nextcloud I'm using:

  • Files: as simple server for upload and download binaries
  • Calendar (with DAVx5): as sync server without web UI
  • Notes: simple note-taking
  • Network folder: mounted on Linux dolphin

Could you recommend me the alternatives for these? All services are supposed to be exposed by HTTPS, so authentication like login is needed. And I've tried note-taking apps like Joplin or trillium but couldn't like it.

Thanks in advance.

you are viewing a single comment's thread
view the rest of the comments
[–] r3dk0w@alien.top 3 points 11 months ago (3 children)

If you're having issues with NextCloud being slow and having errors, it's probably because the machine you are running it on is low on RAM and/or CPU.

I bring this up because what ever replacements you try would likely have the same issues.

My NextCloud instance was nearly unusable when I had it on a Raspberry PI 3, but when I moved it to a container on my faster machine (AMD Ryzen 7 4800U with 16GB of ram) it now works flawlessly.

[–] sachingopal@alien.top 2 points 11 months ago (1 children)

I agree with this. It needs a good amount of CPU cycle and RAM. Raspi struggled for me too.

[–] lannistersstark@alien.top 1 points 11 months ago (2 children)

My NC instance runs on a 24GB RAM, 4 CPU Ampere A1 host(Oracle), and still struggles. YMMV.

And it struggles as a photo backup host an i5-7xxx and 16GB RAM at home.


It's not absurdly slow, it's just...irritating sometimes.

[–] bapichulo@alien.top 1 points 11 months ago (1 children)

Yeah, Ive got this in my setup as well and its been pretty slow. I thought it was a network thing because I'm currently using Tmobile home internet but switching to a fiber optic network with 500Mbps up and down soon. Im really hoping that changes things

[–] ScratchinCommander@alien.top 1 points 11 months ago (1 children)

There are performance tuning tweaks you can do on NextCloud like memory caching etc.

[–] bapichulo@alien.top 1 points 11 months ago

Ooo Lovely! I’ll look into that!

[–] Defiant-Ad-5513@alien.top 1 points 11 months ago (1 children)
[–] lannistersstark@alien.top 1 points 11 months ago

Postgres.

Also using redis, did all the typical perf checks listed on NC site etc.

[–] brando56894@alien.top 2 points 11 months ago

The backing database type and the storage it runs on are just as important too.

[–] SiliconSentry@alien.top 1 points 11 months ago (1 children)

Experiencing the same, a good CPU and lots of RAM would resolve the issue

[–] benjiro3000@alien.top 1 points 11 months ago (1 children)

Even if you ran a basic sqlite nexcloud, if properly optimized, you can deal with millions of files like its nothing. And that is the issue, the bugs and lacking optimization..

4650g + 64GB ram + Mysql and it was file locking on just a 21k 10GB folder constantly.

I have written apps (in Go) that do similar and process data 100 times faster then nextcloud. Hell, my scrapers are faster then nextcloud in a local netwerk, and that is dealing with external data, over the internet.

Its BADLY designed software that puts the blame on the consumer to get bigger and better hardware, for what is essentially, early 2000 functionality.

[–] r3dk0w@alien.top 1 points 11 months ago (1 children)

Mysql and it was file locking on just a 21k 10GB folder constantly

It'll definitely do that if you keep your database on a network share with spinning disks.

Spin up a container with sqlite in a ram disk and point it to your same data location. Most of the problems go away.

[–] benjiro3000@alien.top 1 points 11 months ago (1 children)

It'll definitely do that if you keep your database on a network share with spinning disks.

Database and Nextcloud where on a 4TB NVME drive ... in Mysql with plenty of cache/memory assigned to it. Not my first rodeo, ...

[–] EuroRob@alien.top 1 points 11 months ago

I’m running on an SSD as a VM on 10yr old laptop and have had very few issues compared to running on Raspis in the last. It’s not my first rodeo either and found Debian with NexCloudPi setup script worked the best, then restore from backup. The WebUI is performing great as well as bookmarks, contacts, calendar, video chats and most things I’ve thrown at it. NVME may be overkill but the combination of solid CPU, RAM and Disk IO should alleviate any problems. My hunch is there are other resource constraints or bottlenecks at play, perhaps DDOS or other attacks (experienced that for sure and you can test by dropping your firewall ingress rules to confirm).

Also, this is FOSS and I find the features and usability are better than anything else out there, especially with Letsencrypt.