I’m wondering, what resources does Lemmy need? For a small instance (let’s say, me and some friends) or a large instance (think Lemmy.ml or Lemmy.world or the like…).

Also, where do y’all host your instances?

  • Rulasmur@mhl.onl
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    My personal instance is 2 vcpu 1gb ram and 30gb storage. It’s just me using it, but it’s running rather decently, so maybe if it’s just a few people you could get away with something like that

  • ShittyKopper [old]@lemmy.w.on-t.work
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    I’m running this instance I’m posting this from (single user) on a Hetzner CX21 (2 core / 4 GB ram / 40 GB storage)

    The current stats (according to podman) are as follows

    NAME        CPU %       MEM USAGE / LIMIT  MEM %       NET IO             BLOCK IO           PIDS        CPU TIME       AVG CPU %
    postgres    0.41%       95.12MB / 4.005GB  2.38%       1.863GB / 346.5MB  240.6MB / 10.28GB  11          16m26.041917s  0.55%
    caddy       0.03%       54.47MB / 4.005GB  1.36%       244.9MB / 239.3MB  138.7MB / 20MB     9           2m41.545823s   0.40%
    lemmy-be    0.10%       22.95MB / 4.005GB  0.57%       627.4MB / 2.831GB  169.4MB / 13.71MB  5           10m25.284369s  1.30%
    pict-rs     0.15%       32.23MB / 4.005GB  0.80%       207.1MB / 264.7MB  584.5MB / 460.3MB  13          14m32.532772s  1.82%
    lemmy-ui    0.02%       37MB / 4.005GB     0.92%       53.42MB / 10.18MB  231.1MB / 34.19MB  12          26.062038s     0.05%
    

    Net IO is inaccurate as that also includes networking between the individual containers (I’m definitely not exposing postgres to the wider world, at least not intentionally)

    Oh, and images are using about 200MB disk space so far, although this server hasn’t been up for more than 24 hours even, so we’ll see how that goes.

      • ShittyKopper [old]@lemmy.w.on-t.work
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 year ago

        Is it shitty setting an instance up or is it doable?

        Definitely needs some work. The instructions are all over the place, the Ansible roles expect to be the only thing in your system (unfortunately surprisingly common), both the manual and Docker installation guides are meh and partially unsupported. Caddy is a config snippet and “good luck” (implied, they don’t put it that bluntly). I’m sure there are a fair few people who are accidentally running a dev-focused setup on prod.

        TLDR: It’s definitely not for the newcomer. I may throw my own configs up somewhere for future reference.

        Are u running on perm or via a provider?

        Not sure what you mean by that.

  • pe1uca@lemmy.pe1uca.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I use vultr, the smallest VPS is doing fine for me.
    1vCPU, 1GB ram, 25GB disk.
    I think this could work for a few friends.

    The last time I read about it lemmy.ml was on a 8vCPU, 8GB ram, I don’t remember the disk, it was the largest VPS on OVH.

  • RoundSparrow@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Lemmy runs fine when you start out, with only a few comments and posts in the PostgreSQL database. The real problems come in 0.18 when you start to join communities from other servers and get more and more data in the system. Then your performance needs start to climb rapidly.

  • Meldrik@lemmy.wtf
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    I host Lemmy.wtf on my own server. Lemmy runs in a container in Proxmox. At the moment it has 2vCPU, 1GB RAM and 32 GB SSD in raid 1.

    It uses about 300MB RAM and the cpu is rarely doing anything.

    It only has around 70 users.

      • Meldrik@lemmy.wtf
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        I have 1TB SSD storage total on the server. It’s easy to extend the container, if I need more than 32GB. Right now my instance is only using ~2GB of storage.