submitted 3 years ago* (last edited 3 years ago) by [M] 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
[–] 348 points 3 years ago (5 children)

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

  • source
  • hideshow 5 child comments
  • [–] 30 points 3 years 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!

  • source
  • parent
  • load more comments (1 reply)
    [–] 234 points 3 years ago (1 child)

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

  • source
  • hideshow 1 child comment
  • load more comments (1 reply)
    [–] 173 points 3 years ago (8 children)

    This post encapsulates what I love about this place.

  • source
  • hideshow 8 child comments
  • load more comments (2 replies)
    [–] 120 points 3 years ago (6 children)

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

  • source
  • hideshow 6 child comments
  • [–] 22 points 3 years 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

  • source
  • parent
  • load more comments (1 reply)
    [–] 65 points 3 years 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.

  • source
  • [–] 50 points 3 years ago

    Well done! Thank you for your efforts, cheers!

  • source
  • [–] 44 points 3 years 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) 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

  • source
  • [–] 39 points 3 years 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.

  • source
  • hideshow 5 child comments
  • load more comments (5 replies)
    [–] 33 points 3 years 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!

  • source
  • [–] 33 points 3 years 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. πŸ˜‚

  • source
  • hideshow 2 child comments
  • load more comments (1 reply)
    [–] 31 points 3 years ago* (last edited 3 years ago) (39 children)

    I cannot connect with Jerboa, it always says user or password incorrect πŸ™

    Edit: worked after a few minutes

  • source
  • hideshow 39 child comments
  • load more comments (39 replies)
    [–] 30 points 3 years ago (1 child)

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

  • source
  • hideshow 1 child comment
  • load more comments (1 reply)
    [–] 23 points 3 years ago (1 child)

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

    Thanks again admin team, you rock!

  • source
  • hideshow 1 child comment
  • [–] 23 points 3 years ago

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

  • source
  • [–] 23 points 3 years ago* (last edited 3 years 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

  • source
  • hideshow 22 child comments
  • load more comments (22 replies)
    [–] 22 points 3 years ago*

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

  • source
  • [–] 20 points 3 years ago (4 children)

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

  • source
  • hideshow 4 child comments
  • load more comments (4 replies)
    [–] 20 points 3 years ago (1 child)

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

  • source
  • hideshow 1 child comment
  • load more comments (1 reply)
    [–] 20 points 3 years ago*

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

  • source
  • [–] 20 points 3 years ago (1 child)

    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?

  • source
  • hideshow 1 child comment
  • load more comments (1 reply)
    [–] 20 points 3 years ago (1 child)

    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.

  • source
  • hideshow 1 child comment
  • load more comments (1 reply)
    [–] 18 points 3 years ago

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

  • source
  • [–] 18 points 3 years ago (10 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?

  • source
  • hideshow 10 child comments
  • load more comments (7 replies)
    [–] 18 points 3 years 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.

  • source
  • hideshow 7 child comments
  • load more comments (7 replies)
    [–] 18 points 3 years ago (2 children)
    load more comments (2 replies)
    [–] 17 points 3 years ago

    πŸŽ‰πŸŽ‰

  • source
  • [–] 16 points 3 years 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.

  • source
  • hideshow 5 child comments
  • load more comments (5 replies)
    [–] 16 points 3 years ago

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

  • source
  • [–] 15 points 3 years ago* (last edited 3 years ago)

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

  • source
  • [–] 15 points 3 years ago

    We did it Lemmit!

    ...oh wait

  • source
  • [–] 15 points 3 years ago (3 children)

    Nice. I can use jerboa now.

  • source
  • hideshow 3 child comments
  • load more comments (3 replies)
    [–] 13 points 3 years 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!

  • source
  • [–] 13 points 3 years ago
    load more comments
    view more: next β€Ί