3493
submitted 1 year ago* (last edited 1 year ago) by ruud@lemmy.world to c/lemmyworld@lemmy.world

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 @stanford@discuss.as200950.com and @sunaurus@lemm.ee 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 @sunaurus@lemm.ee 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.

top 50 comments
sorted by: hot top controversial new old
[-] Tontoz@lemmy.world 333 points 1 year ago

Really like seeing posts like this that explain what's going on. Thanks for all the hard work!

[-] ayyndrew@lemmy.world 115 points 1 year ago

The transparency is so refreshing

[-] gfdoto@lemmy.world 22 points 1 year ago

Seeing this post immediately made my ditch my neglected Lemmy instance to sign up for an account on this server. Thanks for the hard work.

[-] lenninscjay@lemmy.world 29 points 1 year ago

agreed. as others have stated. Transparency. But also, new software, new tech (in a way, the fediverse/activity pub), and hopefully a new beginning. Happy to be here. If not technically on the ground level (lemmy has been around for a short time before we knew reddit was going to implode), close to it!

[-] math@lemmy.world 17 points 1 year ago
[-] SmokesForBreakfast@lemmy.world 12 points 1 year ago

I decided to create a user to show my appreciation for these types of updates. Love it. Hope to engage more with this thing now moving forward - let’s get this going 👍

[-] marsokod@lemmy.world 236 points 1 year ago

Thanks a lot for your hard work, take your time with your children

load more comments (1 replies)
[-] Sneckster@lemmy.world 171 points 1 year ago

This post encapsulates what I love about this place.

[-] jugalator@lemmy.world 96 points 1 year ago

It's almost like we're talking to a normal human being rather than an evil overlord.

[-] lordbarbarossa@lemmy.world 31 points 1 year ago

I for one welcome our new benevolent overlords

load more comments (2 replies)
[-] deweydecibel@lemmy.world 60 points 1 year ago

How so?

Admin communicating information about the site to users like genuine human beings, instead of the corporate-sanitized pablum reddit admins speak in? Yeah that's refreshing.

[-] Baylahoo@lemmy.world 23 points 1 year ago

It shouldn't be unreasonable but it is damn refreshing.

load more comments (2 replies)
[-] Dogs_cant_look_up@lemmy.world 115 points 1 year ago

So no more random sports posts at the top of every thread? That was a weird bug.

[-] figaro@lemmy.world 88 points 1 year ago
[-] theragu40@lemmy.world 20 points 1 year ago

Scores will continue until morale improves!

load more comments (1 replies)
[-] veroxii@lemmy.world 22 points 1 year ago

That was because of websockets. Which are no more in this version so yes all those "random things" bugs from multiple tabs should be fixed.

[-] sk1nnyjeans@lemmy.world 21 points 1 year ago

I was so confused by those and kept backing out my feed and going back to the post, thinking I tapped on the wrong post or maybe the app opened the wrong post. I’d scroll down and find the right comments though, I couldn’t make any sense of it. Glad I wasn’t crazy lol

load more comments (1 replies)
[-] Zana@va11halla.bar 61 points 1 year ago* (last edited 1 year ago)

Good work upgrading! I can't imagine it being too easy with a big instance.

I had issues with comments not federating to my own instance before this update (showing 0 for hours). Opening up this up now showed most of them right away if not all. Hopefully that means 0.18.1 fixed a fair few issues people had with federation.

[-] baccano@lemmy.world 50 points 1 year ago

Well done! Thank you for your efforts, cheers!

[-] stanford@discuss.as200950.com 43 points 1 year ago* (last edited 1 year ago)

For everyone experiences issues during the login,

This is caused by an issue in the latest RC of the Lemmy UI. It's already been reported, and ruud will probably decide how to deal with it tomorrow.

The current workaround
Make sure you are on the main page (https://lemmy.world) and not looking at any posts or something like that before hitting the login button.
If you encounter other issues, please make sure to clear the browser cache. The latest upgrade also made changes to the API, which can cause issues with the cached version of the website.

https://github.com/LemmyNet/lemmy-ui/issues/1740

[-] Magister@lemmy.world 33 points 1 year ago* (last edited 1 year ago)

I cannot connect with Jerboa, it always says user or password incorrect 🙁

Edit: worked after a few minutes

[-] Sarcastik@lemmy.world 14 points 1 year ago

Same.

Just use Connect for Lemmy on Android. It's pretty good till boost gets here.

load more comments (3 replies)
load more comments (35 replies)
[-] CylonBunny@lemmy.world 32 points 1 year ago

Congratulations! I can’t believe how much you get done, Ruud! You are crushing it

load more comments (1 replies)
[-] Meanshadows35@lemmy.world 32 points 1 year ago

Only being on Lemmy.world for a day. It seems smoother ...yes I am a reddit user trying to find a new home. 😂

[-] stanford@discuss.as200950.com 25 points 1 year ago

Blobcat wave

Welcome!
I hope we can make this place even better together :)

load more comments (1 replies)
[-] F3F3N@lemmy.world 31 points 1 year ago

A bit off topic, but does anyone else hate how when you click on a post and then go back, the page auto-resets to the top? Wish it would remember how far down you scrolled and return to that point.

load more comments (5 replies)
[-] aysta@lemm.ee 26 points 1 year ago* (last edited 1 year ago)

Well, I hope I'm not the only one but I cannot log in. It's been 4 hours already. Something went wrong. I'm on Firefox mobile.

--> few hours later everything is back to normal

load more comments (22 replies)
[-] AlmightySnoo@lemmy.world 23 points 1 year ago

Looks like the server is choking again, we've had ~7k new signups so far today 😅

[-] xaxl@lemmy.world 22 points 1 year ago* (last edited 1 year ago)

Good bloody job admins, thank you heaps for your perseverance on this.

[-] Aurix@lemmy.world 21 points 1 year ago

When not overloaded the site works better now than ever. But in general this instancen is kind of unusable now as everything is too slow.

load more comments (1 replies)
[-] Alfuh@lemmy.world 20 points 1 year ago* (last edited 1 year ago)

Can I actually post from Jerboa now?! Edit - Great success!!

[-] jacktherippah@lemmy.world 20 points 1 year ago

Eyyyy, nice. I can use Jerboa again. Thanks for your work!

load more comments (4 replies)
[-] Cjwi@lemmy.world 19 points 1 year ago

Am I the only one that just keeps seeing only the same 10 posts on the front page? Almost all about Reddit. Is there just no new content on this app?

[-] Ghostalmedia@lemmy.world 29 points 1 year ago

Lemmy’s sorting logic needs love. This is the first time it’s really been pressure tested with tens of thousands of simultaneous active users. Were learning that the current logic tends to promote content longer than some people like.

If people are still commenting and voting on a 3 day old posts, those post remain promoted.

load more comments (2 replies)
[-] tburkhol@lemmy.world 13 points 1 year ago

Try different sortings. It used to default to "Active," which tends to show days-old posts. For me, "Hot" or "New" seem pretty good. Before the upgrade, anyway. Dunno if that will be changed.

load more comments (6 replies)
[-] Iron_Lynx@lemmy.world 18 points 1 year ago

So some strange behaviour: When I pressed the upvote arrows in 0.17.4, it'd immediately show this in the UI. Right now, it does not. The response appears quite slow. Is this a function of 0.18.1-rc or a function of the traffic of the Reddit-fugees?

load more comments (1 replies)
[-] Izzy@lemmy.world 18 points 1 year ago

Very nice. I see there are lots of little UI changes too. Thank you for your time and effort.

[-] Olap@lemmy.world 18 points 1 year ago

Let us know where donations can go, suspect a stacked docker-compose will reach limits very quickly

load more comments (1 replies)
[-] poorlydrawnarsenal@lemmy.world 16 points 1 year ago
[-] blueoak@lemmy.world 16 points 1 year ago

I'm not sure if this has been said but, when I open lemmy on browser, my account would sometimes be someone elses. I don't know if it's a bug and I saw it happen three times to me so far, and it even happened again a few minutes ago. It's like I i logged into someone elses account, I saw three other usernames so far. A few minutes ago it said my account was Professor -?-?-?- with that account's profile picture shown too. It only does that for half a second before it returns back to my account.

I'm just making sure this is said because I don't want to one day accidentally log into someone else's account by accident.

load more comments (5 replies)
[-] boourns@lemmy.world 16 points 1 year ago
load more comments (2 replies)
[-] sma3in@lemmy.world 15 points 1 year ago* (last edited 1 year ago)

love the transparency and how fast this is!! looks like we will do it lemmy! and reddit can suck a dick

[-] Svengarlic@lemmy.world 15 points 1 year ago
[-] AlmightySnoo@lemmy.world 15 points 1 year ago

Lemmy feels much smoother now after hours of being overloaded, what changed?

Thanks again admin team, you rock!

load more comments (1 replies)
[-] rustytree@lemmy.world 15 points 1 year ago

Nice. I can use jerboa now.

load more comments (3 replies)
[-] Mr_Rob@lemmy.world 14 points 1 year ago

Definitely encountering bugs but I appreciate the work. Growing pains can be good!

[-] GustavoM@lemmy.world 14 points 1 year ago

We did it Lemmit!

...oh wait

[-] Marxine@lemmy.world 13 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!

[-] Squorlple@lemmy.world 12 points 1 year ago* (last edited 1 year ago)

I'm one of the many who have had trouble logging in, and this issue is surely underreported as those affected generally aren't able to report it. It also seems like I'm not able to upvote or downvote. I'll update with any more issues that I come across but I only just now became able to log-in after a long wait and several different browsers.

Edit: it seems like I can successfully upvote/downvote, but the updated vote count and my blue/red arrow only show after refreshing the page. Thanks for all the work you put into this instance btw

Edit 2: All problems seem to have resolved now

load more comments (2 replies)
[-] collin@lemmy.world 12 points 1 year ago
load more comments
view more: next ›
this post was submitted on 01 Jul 2023
3493 points (97.3% liked)

Lemmy.World Announcements

28381 readers
2 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 info@lemmy.world 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