this post was submitted on 23 Jun 2023
6 points (100.0% liked)

Lemmy Support

4652 readers
1 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

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?

top 15 comments
sorted by: hot top controversial new old
[–] ShittyKopper@lemmy.w.on-t.work 3 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] infamousbelgian@lemmy.ml 3 points 1 year ago (1 children)

Is it shitty setting an instance up or is it doable? Are u running on perm or via a provider?

[–] ShittyKopper@lemmy.w.on-t.work 2 points 1 year ago* (last edited 1 year ago) (1 children)

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 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.

Think they meant on-premise or hosted services. Is it your owned box or are you paying to rent one.

[–] Rulasmur@mhl.onl 2 points 1 year ago (1 children)

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

[–] infamousbelgian@lemmy.ml 1 points 1 year ago (1 children)
[–] Rulasmur@mhl.onl 1 points 1 year ago

AWS on a free tier ec2

[–] RoundSparrow@lemmy.ml 1 points 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.

[–] pe1uca@lemmy.pe1uca.dev 1 points 1 year ago (1 children)

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.

[–] lodion@aussie.zone 1 points 1 year ago (1 children)
[–] infamousbelgian@lemmy.ml 1 points 1 year ago

Will ask there! I was wondering where to ask. Thnx!

[–] meldrik@lemmy.wtf 0 points 1 year ago (1 children)

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.

[–] infamousbelgian@lemmy.ml 0 points 1 year ago (1 children)
[–] meldrik@lemmy.wtf 2 points 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.

load more comments
view more: next ›