this post was submitted on 08 Oct 2024
65 points (97.1% liked)

Selfhosted

40296 readers
343 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
 

I kind of want to self host a lemmy instance. What are the requirements for a single user lemmy instance?

you are viewing a single comment's thread
view the rest of the comments
[–] eskuero@lemmy.fromshado.ws 50 points 1 month ago (3 children)

Depends on how many communities do you subscribe too and how much activity they have.

I'm running my single user instance subscribed to 20 communities on a 2c/4g vps who also hosts my matrix server and a bunch of other stuff and right now I mostly see peaks from 5/10% of CPU and RAM at 1.5GB

I have been running for 15months and the docker volumes total 1.2GBs A single pg_dump for the lemmy database in plain text is 450M

[–] eskuero@lemmy.fromshado.ws 35 points 1 month ago* (last edited 1 month ago)

For the whole stack in the past 16 hours

# docker-compose stats

[–] AsudoxDev@programming.dev 8 points 1 month ago (2 children)
[–] eskuero@lemmy.fromshado.ws 9 points 1 month ago (1 children)

Put up some docker stats in a reply in case you missed it on the refresh

[–] AsudoxDev@programming.dev 7 points 1 month ago

Checked it out, thanks.

[–] just_another_person@lemmy.world 0 points 1 month ago

These stats are fine and all, but storage and network is what's going to get you in the end if you open it up to anyone and everyone and it becomes popular.

[–] Max_P@lemmy.max-p.me 2 points 1 month ago (1 children)

I subscribe to a few more communities and my DB dump is about 3GB plain text, but same story, box sits at 5-15% most of the time.

[–] ture@lemmy.ml 1 points 1 month ago (1 children)

How much storage did it use overall? I had one instancs running on a 40gb HDD VM and it ran out of disk space in like 2,5 months. From what I've seen it was a mixture of 66,6/33,3 postgres/ images and other media. Didn't had the time to learn how to clean it up and prevent it from happening again after a month. All happens like may to August last year.

[–] Max_P@lemmy.max-p.me 2 points 1 month ago* (last edited 1 month ago)

It's sitting at around 46GB at the moment, not too bad.

Instance is a year and a few months old, so I could probably trim down the storage a bit if needed by purging stuff < 6 months old or something.

I think it initially grows as your users table fills up and pictrs caches the profile pictures, and then it stabilizes a bit. I definitely saw much more growth initially.