I am fairly new to Lemmy and was thinking of getting an account on one of the “big” servers to get the full experience, but then I figured I could do exactly the same thing as with my GoToSocial and other services: run my own instance.

I am wondering if this is an overkill or not. Any experience running your own small Lemmy instance? Are there better options that are compatible with Lemmy but lighter to run for this purpose?

  • MuttMutt@lemmy.world
    link
    fedilink
    English
    arrow-up
    15
    ·
    7 days ago

    It’s something I’ve wanted to do for a while. Honestly I want to host a Lemmy instance and my own peertube instance.

    Two things are stopping me. I don’t understand certain points of how things interact in the software or how to set it up properly to self host and be comfortable in it’s security. I barely understand docker and some other stuff. It sucks because I understood how to use DOS at an around 14 by reading the manual. I also don’t have the funding to do so in a way that I would feel comfortable at this point. I don’t fully trust co-mingling my home services with web services due to the security risks.

    • hendrik@palaver.p3x.de
      link
      fedilink
      English
      arrow-up
      7
      ·
      7 days ago

      Maybe try something like YunoHost. That’s a web server Linux distribution. And it’s supposed to take care of the set up and come with somewhat safe/secure defaults. You’d need some kind of server, though. Or run it in a VM to isolate it from your home services. They have PeerTube, Lemmy, PieFed installable with a few clicks. (There are other projects as well, Yunohost isn’t the only option to help with the set up.)

      But yes, some kind of isolation is probably nice with web services. Also from the home network, and from storage with personal data on it.

      • Erick@piefed.erick.sh
        link
        fedilink
        English
        arrow-up
        3
        ·
        6 days ago

        YuNoHost is a great alternative, but if you really want to learn, I would instead recommend really spending some time learning Docker; you don’t have to understand how to build your own images (although that is also very useful), but mostly what is going on at a high level, and then switch to Docker Compose. These days it is extremely easy to run very complex architectures with a single compose file.

        You also don’t need to make it public for your tests, you can always start with local ip addresses and you own computer, or if you have a small computer that can run headless, then you can setup your experiments in there.

      • MuttMutt@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        7 days ago

        I will have to take another look. I’ve seen it before but didn’t see anything about Lemmy and such.

      • Jade@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 days ago

        This is like the opposite of what you want to do for complex software - don’t add more abstraction, or you won’t know what to do when stuff goes wrong!

        • hendrik@palaver.p3x.de
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          6 days ago

          Not sure if I get your point. Abstraction is a concept used by IT people to deal with complexity. You’ll use Docker containers in order not to have 200 very specific problems and learn about the intricate details of all of them. Or use a turnkey solution because a working day has a finite amount of hours and you can just not care and have somebody else set the XY value of Postgres to 128 because that’s somehow needed for software M on python x.xx… Of course you’re then not going to learn about these things. It is not “bad”, though, in itself to abstract these issues away from you. Same for the other things I mentioned, networking, virtualization. Abstraction there allows to swap out complex things, do things once and in a clean way because it’s easy to miss things without abstraction and you always need to pay attention to a bazillion of specifics. Also helps with backups, deal with issues because things should break within confined layers, punch above one’s weight, security, do something once and roll it out several times…

          I think what you want to avoid is poorly designed or written software. Or poorly done setups. Or not learn about important things. Abstraction is generally something you want, especially with complex things.

      • Shimitar@downonthestreet.eu
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 days ago

        Disk space 10gb, CPU/ram not noticeable on my server (lots of other services using more than Lemmy).

        I think it’s been up about one year. One user but I subscribe to all communities I find remotely interesting.

        • desentizised@lemmy.zip
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 days ago

          Thanks for the reply. So what kind of magnitude are we talking on the RAM usage here? Some people here talked about not being able to fit it inside 2G total. So I assume it’s probably like hundreds of megs which is only really significant in such low memory configurations.

    • Erick@piefed.erick.sh
      link
      fedilink
      English
      arrow-up
      4
      ·
      6 days ago

      Ah, good catch. This is something I have to look into. Other self-hosted apps I have usually keep a local cache for a few days only and fetch on demand when needed. Need to explore if both Lemmy and PieFed to something similar.

      • squaresinger@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        6 days ago

        Lemmy fetches everything that has ever been posted in any community that any user on that instance is subscribed to and keeps it indefinitely.

        Since most activity happens in big communities that most people are subscribed to, most instances keep full, persistent copies of most things that were ever posted to lemmy.

        That’s why Lemmy scales so badly. If Lemmy was the size of Reddit, every instance would have to have storage capacity in the same order of magnitude as all of Reddit itself.

        The problem only gets worse with time, since all that has been posted still remains.

        The total replication also means that the copies need to be moderated by every instance individually, since every instance stores a copy of everything. So if e.g. someone posts illegal content on another instance and your instance stores a replica, you are just as legally liable for that illegal content as the original instance. Thus you have to moderate everything that runs over your instance.

        Moderation effort is thus also replicated across all instances.

        That bad scaling in storage and moderation is btw the reason why e.g. lemm.ee shut down. It was just too much cost and work to keep the instance running.

        • Erick@piefed.erick.sh
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 days ago

          As far as I can tell PieFed already handles deleting old content (1 week by default, but I’m looking at the code on my phone so not the best way of doing research). I’ll do some more code reading later if I have a chance.

  • Bobby Turkalino@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    9
    ·
    7 days ago

    I did it for a while and it was a fun little technical project but once the pictrs image cache exhausted the amount of storage I got in the cloud host service’s free tier, I stopped because I didn’t feel like spending money on it

  • Erick@piefed.erick.sh
    link
    fedilink
    English
    arrow-up
    6
    ·
    6 days ago

    And now running both Lemmy and PieFed side by side (OP, posting from my PieFed account).

    I think admin wise I am going to stick with PieFed. Definitely liking it more!

    • neidu3@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      9
      ·
      6 days ago

      I was in the same boat, so I’ll leave you with this golden nugget you probably want to check out:

      certbot

  • tko@tkohhh.social
    link
    fedilink
    English
    arrow-up
    6
    ·
    7 days ago

    My instance runs great… I’ve got it on NVME drives and a system with 64GB of RAM. When I was hosting it on Digital Ocean, I often ran into performance issues with RAM (I think I just had 2GB). Since the switch it’s been rock solid.

  • pedroapero@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    7 days ago

    Having to run a full-blown PostgreSQL instance just for a single user is a show-stopper for me.

    • Erick@piefed.erick.sh
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 days ago

      I don’t really worry too much about running multiple DBs; all the apps I am currently running are dockerized. As far as I can run everything I need for an app can run as a container, I am good. For apps like these, they run in their own network and only the main entry point is visible to the interwebs via private tunnel.

      • witness_me@lemmy.ml
        link
        fedilink
        English
        arrow-up
        4
        ·
        7 days ago

        PostgreSQL is a goated database. It’s rock solid.

        No clue why you’d find it gross. I’ll take it over MySQL, OracleDB or MariaDB any day.

  • fodor@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 days ago

    Also might be worth thinking about what else you are self hosting. Don’t want to self host all of your communication apps; that would be brittle.

    • Erick@piefed.erick.sh
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 days ago

      Oh, I am running a bunch of things already, so adding one more to the stack is not a real problem for me. The only service I would think at least 100 times before even trying is email; yes, it is tempting to do it, but just thinking at all the ways that could go wrong gives me nightmares.

  • solrize@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 days ago

    I’ve thought of doing it for privacy and other reasons. I don’t have the sense that the resource load is high, but I haven’t checked carefully.

  • webghost0101@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 days ago

    I have tried snac before as a minimalist fediverse server but the blog style layout isn’t really for me.

    I have also considered wether a personal Lemmy is a good idea or not.

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    5
    ·
    edit-2
    6 days ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    HASS Home Assistant automation software
    HTTP Hypertext Transfer Protocol, the Web
    HTTPS HTTP over SSL
    LVM (Linux) Logical Volume Manager for filesystem mapping
    NVMe Non-Volatile Memory Express interface for mass storage
    SBC Single-Board Computer
    SSD Solid State Drive mass storage
    SSL Secure Sockets Layer, for transparent encryption
    k8s Kubernetes container management package
    nginx Popular HTTP server

    8 acronyms in this thread; the most compressed thread commented on today has 8 acronyms.

    [Thread #982 for this comm, first seen 5th Jan 2026, 18:25] [FAQ] [Full list] [Contact] [Source code]