this post was submitted on 09 Oct 2023
89 points (97.8% liked)

Lemmy.ca's Main Community

2811 readers
2 users here now

Welcome to lemmy.ca's c/main!

Since everyone on lemmy.ca gets subscribed here, this is the place to chat about the goings on at lemmy.ca, support-type items, suggestions, etc.

Announcements can be found at https://lemmy.ca/c/meta

For support related to this instance, use https://lemmy.ca/c/lemmy_ca_support

founded 3 years ago
MODERATORS
 

Hello all and Happy Thanksgiving!

A few people have asked how the server is doing and I've been meaning to post some metrics for a while.

We're running on a "Advance-1 Gen 2" server with OVH hosted in Beauharnois, Quebec. This is a 6 core xeon 2386G with 32gb of ram and 2x 512gb nvme ssd's (raid 1). It's also ended up being pretty overkill for what we need so we may want to consider downgrading in the future, but it's relatively inexpensive ($130/mo) for what it is.

We store image uploads on OVH Object Storage, consuming about 430gb.

CPU peaks at barely 10%:

Similarly most of our RAM just gets used for filesystem caching. The pattern you see is due to a cronjob I have in place that restarts lemmy each night at 3am PT, since it seems to leak memory for us.

A few weeks ago we migrated our pict-rs over to OVH's object storage platform, so our disk needs are pretty minimal.

and with postgres basically just keeping the working DB in memory, disk IO is mostly just writes:

Database throughput shows some interesting activity happening for the past few days, but I just noticed and haven't dug into who/what might be causing this.

but still performance is fine with most queries returning in under 100ms

Lemmy tends to return 4xx errors hence the high error rates from nginx:

Most of our traffic is still ipv4:

Lastly, we use cloudflare as a caching proxy and ddos protection layer in front of our server. They absorb about 64% of our bandwidth usage:

Let me know if there's anything else you're curious about!

you are viewing a single comment's thread
view the rest of the comments
[–] anonymoose@lemmy.ca 1 points 1 year ago