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

  • Eskuero
    link
    fedilink
    English
    502 months 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
      link
      fedilink
      English
      35
      edit-2
      2 months ago

      For the whole stack in the past 16 hours

      # docker-compose stats

      • Eskuero
        link
        fedilink
        English
        92 months ago

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

      • @just_another_person
        link
        English
        02 months 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
      link
      fedilink
      English
      22 months 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.

      • @[email protected]
        link
        fedilink
        English
        12 months 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
          link
          fedilink
          English
          2
          edit-2
          2 months 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.