this post was submitted on 03 May 2025
118 points (96.1% liked)

Selfhosted

46594 readers
1550 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
[–] 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.