this post was submitted on 03 May 2025
129 points (96.4% liked)

Selfhosted

46639 readers
1616 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 2 years ago
MODERATORS
 

Since selfhosted clouds seem to be the most common thing ppl host, i'm wondering what else ppl here are selfhosting. Is anyone making use of something like excalidraw in the workplace? Curious about what apps that would be useful to always access over the web that aren't mediaservers.

you are viewing a single comment's thread
view the rest of the comments
[–] A_norny_mousse@feddit.org 14 points 1 day ago (2 children)

Calendar and contacts (i.e. CalDAV/CardDAV). A blog. Media is just remote-mounted since all my systems are Linux.

I'm always leery of "one app for all" solutions, or in German, "eierlegende Wollmilchsau".

Hence, no Nextcloud for me.

[–] drkt@scribe.disroot.org 3 points 1 day ago (1 children)

Which Calendar software do you use?

[–] A_norny_mousse@feddit.org 4 points 1 day ago

Glad you asked. I left that open on purpose because my server probably got hacked and I have only just reinstalled. So far I've been using DaviCAL - for many years - but I'll revise this choice. It's a little dated and quirky, and so ist PostgreSQL which it depends on.

[–] ace@lemmy.ananace.dev 0 points 1 day ago (2 children)

Currently working to move away from Nextcloud myself, it's PHP nature causes IO storms when it tries to check if it needs to reload any code for incoming requests.

[–] melroy@kbin.melroy.org 4 points 1 day ago (1 children)

You can optimize php a lot for performance. See my config https://gitlab.melroy.org/-/snippets/91

[–] ace@lemmy.ananace.dev 3 points 1 day ago (1 children)

Yep, those values are actually somewhat tame compared to my own cache tuning, the issue remains that the code requires reloading PHP files from disk during runtime in order to support applications and updates, which - even if it doesn't happen often - causes IO storms that temporarily break both Nextcloud as well as other software.

[–] melroy@kbin.melroy.org 2 points 1 day ago (1 children)

No. That is why I shared my configs. With opcache and opcache.validate_timestamps = 0 you don't have this problem anymore.

Of course you also need to enable opcache itself as well.

Or you have really slow spinning disks or something. Also be sure to use php 8.4.

[–] ace@lemmy.ananace.dev 4 points 1 day ago (1 children)

Again, it works until it requires reloading, i.e. the next update of any component or the next restart of the server.

I'm also running an inode cache on the client side, on top of the persistent opcache, but due to the sheer number of files that Nextcloud consists of it still generates a frankly ridiculous amount of calls when it needs to invalidate the cache. If you're running on local drives then that's likely much less of an issue, regardless of what kind of drive it is, but this is hosted on machines that do not have any local storage.

[–] koala@programming.dev 2 points 1 day ago (1 children)

Eh, my Nextcloud LXC container idles at less than 4.5% CPU usage ("max over the week" from Proxmox). I use PostgreSQL as the backend on a separate LXC container that has some peaks of 9% CPU usage, but is normally at 5% too.

I only have two users, though. But both containers have barely IO activity.

[–] ace@lemmy.ananace.dev 1 points 1 day ago* (last edited 1 day ago) (1 children)

Oh yeah, CPU usage is basically zero, and memory usage of the PHP code itself is also basically nil compared to other software I run. It's just the sudden storms of IO requests that causes issues, and since those come over a network pipe it causes issues for other pieces of software as well.

[–] koala@programming.dev 1 points 1 day ago (1 children)

I see some CPU and memory usage on my setup... but I don't even see any IO!

Literally, the IO chart for "week (maximum)" on Proxmox for my Nextcloud LXC container is 0, except for two bursts, of 3 hours of less each. (Maybe package updates?)

The PostgreSQL LXC container has some more activity (but not much), but that's backing Nextcloud and four other applications (one being Miniflux, which has much more data churn).

[–] ace@lemmy.ananace.dev 1 points 14 hours ago (1 children)

Are you looking at data rates or IO operations? Because this is almost exclusively stat queries, i.e. inode queries.

[–] koala@programming.dev 1 points 13 hours ago (1 children)

I was looking at the Proxmox graphs. Now, looking at iostat, r/s measured over 10s hovers between 0 and 0.20, with no visible effect of spamming reload on a Nextcloud URL. If you want me to run any other measurement command, happy to.

[–] ace@lemmy.ananace.dev 1 points 7 hours ago (1 children)

Interesting, that's definitely not what I'm seeing from regular use. Are you running any added applications? LDAP? SSO? External mounts?

[–] koala@programming.dev 1 points 5 hours ago

I use LDAP auth, but no SSO or external mounts. Actually, I tested external mounts, but they gave me bad vibes, although they are interesting.

The other thing, I just run a preview generator application, no other plugins.