this post was submitted on 10 Jun 2023
30 points (100.0% liked)

Selfhosted

40009 readers
879 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
 

Upload of around 40mbps

top 26 comments
sorted by: hot top controversial new old
[–] ruud 27 points 1 year ago (6 children)

These are current graphs for lemmy.world (yet to add it to my Zabbix)

Diskspace:

du -sm *
960	pictrs
1273	postgres
[–] CMahaff 4 points 1 year ago* (last edited 1 year ago)

Oh wow! 2GB already seems like a lot, especially since it looks like this instance has only been running for 10 days?

[–] [email protected] 3 points 1 year ago (1 children)

I see you're using Hetzner. Those graphs don't really show what kind of CPU you're using. It's a 2 core i guess?

[–] ruud 2 points 1 year ago (1 children)

It was an 8 core. But the current server is a 32-core / 64 thread cpu.

[–] [email protected] 1 points 1 year ago (2 children)

For only 17k Users? Seems like a lot of CPU Usage. Damn.

[–] ruud 5 points 1 year ago (1 children)

That image was from when we had 8 cores. Now it's under 10% usage :-) So we have some spare.

[–] knF 1 points 1 year ago

It seems a high usage to me as well... what's the load? (from the uptime command) I'm puzzled as the disk and network are basically idle (very low usage) but the CPU is basically saturated...

Beside this THANK YOU FOR YOUR GREAT WORK!

[–] [email protected] 4 points 1 year ago

it's most likely coming from postgres, db server tends to be the main resource hog.

[–] bitrate 3 points 1 year ago

Dang dude, youre the man

[–] SeeleLowe 2 points 1 year ago (1 children)

Do you have any data redundancy? Like that if a hard drive dies? Or worse a hurricane takes out your whole server? What would happen to my newly created account?

[–] ruud 10 points 1 year ago (1 children)

It's on a VPS so any redundancy they use for storage, plus I make backups to a storagebox in a different datacenter

[–] SeeleLowe 2 points 1 year ago

Super cool!

[–] [email protected] 1 points 1 year ago

Wow, that's a lot of CPU usage

[–] mikehunt 11 points 1 year ago (2 children)

I think it depends heavily on how much storage you're allocating, if you allow uploading media that is. From what I've understood most of the bottlenecks are in DB operations so CPU and memory definately play a role.

[–] Scuro 6 points 1 year ago (1 children)

Good point. I forgot about media.

I wonder if I made a LAN lemmy instance if I could use it as a lemmy cache server.

[–] czardestructo 5 points 1 year ago (2 children)

Is there a such thing as a cache only server? If so I'd love to sign up as being a cache bitch and help out!

[–] Scuro 2 points 1 year ago

I was thinking if I made a personal instance I could use it as a local "cache".

[–] [email protected] 2 points 1 year ago

I've not looked to see if it's possible, but a lemmy instance with posting disabled would be effectively be a cache server - all reads, no writes, except for sign ups, I think.

[–] [email protected] 0 points 1 year ago

sounds about right

[–] ruud 11 points 1 year ago (1 children)
[–] Brien 3 points 1 year ago (1 children)

What is the plan to make communities between instances easily accessible? I feel like with mastodon and now lemmy that is the part that concerns me, namely community reach/discoverability

[–] Robin 10 points 1 year ago (1 children)

External communities are just searchable, subscribable and browsable from here. Sometimes you need to change a search filter or default view from Local to All. Or is there something else you feel is missing? I think 90% of the issues people are having are UX related and not a core issue with federation or decentralization.

[–] Brien 3 points 1 year ago (1 children)

I think my concern for adoptability is that a technology community could exist with the same name on lemmy.world as well as on another instance. I think theirs some benefit to creating a user and community pool of names and communities to allow genuine growth. it would also prevent fakes and phishing.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

I think of it like [email protected] instead of just selfhosted. Sure there may be duplicate communities on different instances but over time I think there will be more people gravitating to a particular community and people will just sub there from then on and the others will become more dormant. When I refer to a community I'll just use the full name ([email protected]) and not just the community name (selfhosted)

[–] Brien 1 points 1 year ago

I absolutely understand, I am just trying to think of making it as adoptable as possible. Remember that many people struggled to adapt to Reddit and now lemmy will be adding additional layers of complexity that make entry more cumbersome unless you’re savvier than the average internet user. It isn’t cosmic but it should be considered and mitigated.