this post was submitted on 01 Jul 2023
3683 points (97.1% liked)

Lemmy.World Announcements

29098 readers
30 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
 

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 339 points 1 year ago (5 children)

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

[–] ayyndrew@lemmy.world 118 points 1 year ago (1 children)

The transparency is so refreshing

[–] gfdoto@lemmy.world 24 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 31 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 16 points 1 year ago
load more comments (2 replies)
[–] marsokod@lemmy.world 230 points 1 year ago (1 children)

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

load more comments (1 replies)
[–] Sneckster@lemmy.world 172 points 1 year ago (4 children)

This post encapsulates what I love about this place.

[–] jugalator@lemmy.world 101 points 1 year ago (1 children)

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

[–] lordbarbarossa@lemmy.world 32 points 1 year ago (2 children)

I for one welcome our new benevolent overlords

load more comments (2 replies)
[–] deweydecibel@lemmy.world 59 points 1 year ago (1 children)

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 25 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 117 points 1 year ago (4 children)

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

[–] figaro@lemmy.world 90 points 1 year ago (2 children)
[–] theragu40@lemmy.world 21 points 1 year ago

Scores will continue until morale improves!

load more comments (1 replies)
[–] veroxii@lemmy.world 23 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 22 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 65 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 44 points 1 year ago

Well done! Thank you for your efforts, cheers!

[–] stanford@discuss.as200950.com 38 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

[–] F3F3N@lemmy.world 36 points 1 year ago (5 children)

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)
[–] flamekhan@lemmy.world 35 points 1 year ago

Huge thanks to the lemmy.world team over the last couple of days to scale and maintain the instance! There's a link for donating on the sidebar for lemmy.world - just a couple bucks a month can help us support this instance!

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

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 (3 children)

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)
[–] Meanshadows35@lemmy.world 32 points 1 year ago (2 children)

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

Blobcat wave

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

load more comments (1 replies)
[–] CylonBunny@lemmy.world 28 points 1 year ago (1 children)

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

load more comments (1 replies)
[–] aysta@lemm.ee 23 points 1 year ago* (last edited 1 year ago) (22 children)

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 22 points 1 year ago (1 children)

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 21 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 (4 children)

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

load more comments (4 replies)
[–] Olap@lemmy.world 20 points 1 year ago (1 children)

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

load more comments (1 replies)
[–] Iron_Lynx@lemmy.world 20 points 1 year ago (1 children)

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)
[–] boourns@lemmy.world 19 points 1 year ago (2 children)
load more comments (2 replies)
[–] AlmightySnoo@lemmy.world 19 points 1 year ago (1 children)

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

Thanks again admin team, you rock!

[–] veroxii@lemmy.world 14 points 1 year ago

There was a disk space issue which has now been resolved. And seems to have done the trick.

[–] 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.

[–] Svengarlic@lemmy.world 18 points 1 year ago

πŸŽ‰πŸŽ‰

[–] blueoak@lemmy.world 18 points 1 year ago (5 children)

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)
[–] Mr_Rob@lemmy.world 17 points 1 year ago

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

[–] Tag365@lemmy.world 17 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)
[–] GustavoM@lemmy.world 15 points 1 year ago

We did it Lemmit!

...oh wait

[–] Cjwi@lemmy.world 15 points 1 year ago (8 children)

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 26 points 1 year ago (2 children)

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)
load more comments (7 replies)
[–] Marxine@lemmy.world 14 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!

[–] sma3in@lemmy.world 14 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

load more comments
view more: next β€Ί