this post was submitted on 19 Jun 2023
2 points (100.0% liked)

Weekly Explosions Blog

3 readers
1 users here now

Weekly Explosions Blog

This is where we blog about the articles and discussions that have been active this week.

founded 2 years ago
MODERATORS
 

We have been having a lot of server issues today where I have had to reboot the server every hour or so.

I have seen there is a lot of reports of scaling issues with the federation that they say may cause issues.

To test if this is the problem we are experiencing, I have turned federation off for a few hours, maybe overnight.

I will let you know as soon as I know more.

In the meantime, I apologize for the inconvenience.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago (2 children)

Good chance it's just increased usage from all the new federated users. Sounds like the lemmy devs have a plan to optimize things. There may be some low hanging fruit optimization we can look into doing with the postgres config. I'll try to find some time into reading the current default configs.

[–] [email protected] 1 points 1 year ago (1 children)

"You can use the PGTune tool to tune your postgres to meet your server memory and CPU."

from https://github.com/LemmyNet/lemmy-ansible

It was configured to a much larger machine. So I plugged in the specs for my linode and updated it.

I also upgraded to V17.4 even though that breaks images for some reason.

I figured better to be up and running smoothly with no images, then up and down all the time.

I will watch the server today and see if it performs better and let you know.

Fingers crossed.

[–] [email protected] 1 points 1 year ago

Good news, these tweaks have fixed the cpu spikes and the Disk i/o spikes.

You should be seeing better performance.

Still researching what is causing the images not to display.