this post was submitted on 01 Jul 2023
3478 points (97.3% liked)

Lemmy.World Announcements

28381 readers
1 users here now

This Community is intended for posts about the Lemmy.world server by the admins.

Follow us for server news 🐘

Outages πŸ”₯

https://status.lemmy.world

For support with issues at Lemmy.world, go to the Lemmy.world Support community.

Support e-mail

Any support requests are best sent to [email protected] e-mail.

Report contact

Donations πŸ’—

If you would like to make a donation to support the cost of running this platform, please do so at the following donation URLs.

If you can, please use / switch to Ko-Fi, it has the lowest fees for us

Ko-Fi (Donate)

Bunq (Donate)

Open Collective backers and sponsors

Patreon

Join the team

founded 2 years ago
MODERATORS
 

Looks like it works.

Edit still see some performance issues. Needs more troubleshooting

Update: Registrations re-opened We encountered a bug where people could not log in, see https://github.com/LemmyNet/lemmy/issues/3422#issuecomment-1616112264 . As a workaround we opened registrations.

Thanks

First of all, I would like to thank the Lemmy.world team and the 2 admins of other servers @[email protected] and @[email protected] for their help! We did some thorough troubleshooting to get this working!

The upgrade

The upgrade itself isn't too hard. Create a backup, and then change the image names in the docker-compose.yml and restart.

But, like the first 2 tries, after a few minutes the site started getting slow until it stopped responding. Then the troubleshooting started.

The solutions

What I had noticed previously, is that the lemmy container could reach around 1500% CPU usage, above that the site got slow. Which is weird, because the server has 64 threads, so 6400% should be the max. So we tried what @[email protected] had suggested before: we created extra lemmy containers to spread the load. (And extra lemmy-ui containers). And used nginx to load balance between them.

Et voilΓ . That seems to work.

Also, as suggested by him, we start the lemmy containers with the scheduler disabled, and have 1 extra lemmy running with the scheduler enabled, unused for other stuff.

There will be room for improvement, and probably new bugs, but we're very happy lemmy.world is now at 0.18.1-rc. This fixes a lot of bugs.

(page 2) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 12 points 1 year ago
[–] [email protected] 11 points 1 year ago

Thank you Ruud and those who helped to make it happen!

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

thank you for letting us know behind-the-scene stuffs.

me myself is a sysadmin and really like story of successfully scaling up servers. very satisfy to hear.

once again, thank you!

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

I had a strange bug today where I wasn't able to upvote comments. So I cleared out my website data like the website suggested and I started having problems logging in. It would log in but then when I refreshed it wasn't logged in anymore. It stopped after a while but then when I clicked on an old tab when I refreshed I was logged out again. So, the log in issue must be something to do with how iOS Safari handles web cache on tabs.

load more comments (7 replies)
[–] [email protected] 10 points 1 year ago

Thank you! I can finally log into jerboa now, much appreciated for your hard work

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

Fantastic work!

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

I may not be a user on your instance, but either way, thanks for the upgrade. I was noticing a lot of issues with federation from lemmy.world, and it seems like this upgrade more-or-less fixed them.

I'm just running a tiny, single-user instance, but I want you to know that I appreciate the work you're putting in! I run large-scale infra as my day job, so I understand how challenging this sudden influx of users (and federated servers!) is.

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

Thanks. Made a one-time 50€ contribution and started monthly payments as well. Hopefully this can help fund a server upgrade.

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

Not gonna lie, having concerns that without hardware upgrades this instance may be too big to upgrade going forward, if it isn't already. Just what I'm seeing. Created an account on another instance (that I'm posting from) and I might just stay on this other instance. That said, I do appreciate the work put in to this one.

load more comments (3 replies)
[–] [email protected] 9 points 1 year ago

Thank you for your effort in running this instance and also for being so transparent about the whole process.

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

I am having some issues logging in to my lemmy.world account atm, just a heads up. I'm sure you folks are slammed right now, thanks for all the work you're doing!

load more comments (1 replies)
[–] [email protected] 9 points 1 year ago

Real challenging this morning posting and commenting. Circle of death waiting for something to post. Then getting multiple posts if it does go through.

Still early days y’all.

[–] [email protected] 9 points 1 year ago (2 children)
load more comments (2 replies)
[–] [email protected] 9 points 1 year ago (2 children)

Awesome work!

I'd like to know more about the exact container topology you have, since I may try something similar on my instance as well.
Is it something like this?

β”Œβ”€β”€β”€β”       β”Œβ”€β”€β”€β”
β”‚WEBβ”‚       β”‚WEBβ”‚
β””β”€β”¬β”€β”˜       β””β”€β”¬β”€β”˜
β”Œβ”€β”΄β”€β” β”Œβ”€β”€β”€β” β”Œβ”€β”΄β”€β”
β”‚BE β”œβ”€β”€IMGβ”œβ”€β”€BE β”‚
β””β”€β”¬β”€β”˜ β”œβ”€β”€β”€β”€ β””β”€β”¬β”€β”˜
  └────DB β”œβ”€β”€β”€β”˜  
      β””β”€β”€β”€β”˜      

Thank you! :3

load more comments (2 replies)
[–] [email protected] 8 points 1 year ago
[–] [email protected] 8 points 1 year ago (2 children)

Lot of network errors, but it could be jerboa.

load more comments (2 replies)
[–] [email protected] 8 points 1 year ago* (last edited 1 year ago)

Everything was loading so slow 2 hours ago. Hope it will get better from there.

Edit: When I press "Post", it doesn't respond very long time, but reloading page helps.

[–] [email protected] 8 points 1 year ago* (last edited 1 year ago)

Amazing work. Thankyou :)

Jerboa 0.0.37 now working fine for me, been hanging out to update.

Really appreciate the transparent communications.

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

Is up/down voting not working for anyone else, or is it just me?

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

It wasn't working a few hours ago, for me. Now it does, but each vote needs a few seconds to register.

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

Is anyone else seeing duplicate and triplicate posts on the feed?

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

Wow - we have a new defniition of 'awesome dudes'.

Thank you.

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

I'm sure there will be bugs for others but it's smooth and bug free for me. Thanks so much for the devs and contributors.

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

YOU'RE DOING GOD'S WORK, SON! Keep up the good work! πŸ†

[–] [email protected] 7 points 1 year ago* (last edited 1 year ago)

It's faster now, and we finally have buttons for rich text features! Congratulations!

Update: upvotes are a bit broken and weird right now, I need to refresh every time to see that I upvoted. But that's really the only issue I see right now.

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

Loving lemmy more and more!

Just so refreshing getting this much transparency.

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

πŸŽ‰ Great work!

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

Thanks a bunch for your hard work, Ruud and other admin folks! It's so damn GOOD to be able to use Jerboa again!

Also, it's really nice to see the breakdown of your work, helps a lot in understanding what you go through and maybe even of there's anything we can help with. Keep it up!

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

Will confirm at least for me I'm no longer having any issues.

Thank you for all your hard work!

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

The instance just got so much more faster and stable, it's amazing. Keep up the good work!

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

Awesome to see the transparency and some tech details of what these updates entail! I’m loving the bug fixes 0.18 brought too

load more comments
view more: β€Ή prev next β€Ί