this post was submitted on 11 Jun 2023
87 points (98.9% liked)

Selfhosted

39982 readers
478 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
87
submitted 1 year ago* (last edited 1 year ago) by CMahaff to c/selfhosted
 

Over the next week or so I'm sure a lot of people are going to try spinning up Lemmy instances - I've certainly been looking at it.

Does anyone have any recommendations for a VPS provider / resource allocation?

From what I have read, it sounds like you're going to want a host that focuses on storage / bandwidth (at least if you are allowing image upload), but maybe those of you already operating an instance have a different opinion?

you are viewing a single comment's thread
view the rest of the comments
[–] ruud 58 points 1 year ago (6 children)

I run lemmy.world on a VPS at Hetzner. They are cheap and good. Storage: I now (after 11 days) have 2GB of images and 2GB of database.

[–] Richard 11 points 1 year ago* (last edited 1 year ago)

I guess for context for anyone reading this, but after this post it looks like Ruud doubled RAM and CPU to 32 and 8 respectively.

https://lemmy.world/post/56228

[–] kinther 7 points 1 year ago (1 children)

Are you planning on pruning the database and images at some point, or is there some way to force external image hosting e.g. imgur.com ? Using 40GB for the o/s and swap, and 100GB for the site, at current levels of usage (not factoring in increased usage if more leave reddit), you're looking at about 275 days before running out of space.

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

The 100Gb is on a volume which I can extend to 10TB, and then I can also add more volumes as I use LVM on linux. :-)

[–] kinther 8 points 1 year ago

Right, that's what I'm planning to do for a personal instance as well. I'm just curious whether there is any way to prune the database of content older than say, 1 year. We're still early in the game for Lemmy adoption, so if usage picks up there must be some way to address it other than adding more disk space.

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

Thanks for mentioning your provider, their prices are a lot cheaper then DO !

[–] ruud 2 points 1 year ago

You're welcome!

[–] Kris 4 points 1 year ago (1 children)

Will probably move my instance there. Have it on digital ocean.

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

Could you give us some insight into how much bandwidth up/down your instance is using? Thanks for posting your server specs. I'm tempted to self host an instance when I finally get a gigabit connection in the next few months.

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

Just installed Zabbix agent, so data just coming in. Bandwidth usage for Lemmy.world server

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

There's some talks about out-wards federation issues in which messages on big instances such as lemmy.world aren't federating outwards. Do you mind sharing the CPU and memory data from Zabbix? Also, do you have NTP configured on the server? I've seen a couple people, myself also included, seen "Header is expired" messages in our logs during federation, implying something is backed up or timing is off. I'm curious if the issues are server performance related, or time related, or something else all together.

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

Server is performing nicely. NTP (timesyncd) is running. I have no idea how to see federation queues. Please contact me on matrix @ruud:h-y-p-e-r.space if you want to troubleshoot together.

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

I'm brand new to the fediverse; tried to message you via Matrix using Element -- @chiisana:matrix.org -- not sure if I did it correctly or tried to invite you to a room on the Lemmy space. Hope we can some how connect :)

[–] chiisana 1 points 1 year ago

testy mctest message

[–] liara 1 points 1 year ago* (last edited 1 year ago) (1 children)

Not sure about seeing queue stats directly but the logs should be pretty noisy if there aren't enough federation workers to process the queue efficiently.

There was info from the devs here: https://lemmy.ml/post/1216911

E: I see you already commented there, so you already know. It seems the value was raised to 160k by the lemmy.ml instance though

[–] ruud 1 points 1 year ago

Thanks for notifying. I raised it to 200k now.

[–] ChaosAD 1 points 1 year ago

This is great for reference. How many users you had while on that configs?