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

  • EskueroA
    link
    fedilink
    English
    arrow-up
    50
    ·
    1 month 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

    • EskueroA
      link
      fedilink
      English
      arrow-up
      35
      ·
      edit-2
      1 month ago

      For the whole stack in the past 16 hours

      # docker-compose stats

      • EskueroA
        link
        fedilink
        English
        arrow-up
        9
        ·
        1 month ago

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

      • just_another_person@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        4
        ·
        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
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month 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
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 month 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
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          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.