64

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 2 years ago

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 2 years ago* (last edited 2 years ago)

For the whole stack in the past 16 hours

# docker-compose stats

[-] AsudoxDev@programming.dev 8 points 2 years ago
[-] eskuero@lemmy.fromshado.ws 9 points 2 years ago

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

[-] AsudoxDev@programming.dev 7 points 2 years ago

Checked it out, thanks.

[-] just_another_person@lemmy.world 0 points 2 years 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 2 years ago

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 2 years ago

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 2 years ago* (last edited 2 years 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.

this post was submitted on 08 Oct 2024
64 points (95.7% liked)

Selfhosted

61936 readers
58 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS