I’m the sysadmin for beehaw.org and our user-base has almost tripled in 24 hours. Our site has been crashing so much over this time period.

We do have some volunteers that are trying to figure out a reasonable solution for when this happens again four weeks from now.

Do you have any recommendations?

  • nutomic@lemmy.ml
    link
    fedilink
    arrow-up
    28
    ·
    1 year ago

    So far there are no major problems. Disk was filling up but probably unrelated. I guess beehaw grew a lot more in terms of percentage than lemmy.ml during this time.

    The main things I can think of which might help are to increase database pool size (in config file) and number of federation workers (/admin). Also create a swapfile if you are running low on RAM.

    • kai@beehaw.org
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      1 year ago

      I mean I’ve been able to verify with a number of users in America, and in Europe that signups just “spin” on lemmy.ml and have been that way for 24 hours or so. I’ve personally tested it on iOS & Windows (Safari, librewolf and Vivaldi) as well as on multiple IPs and had a few friends in multiple countries (England, France and Germany) try as well. Something is hung up somewhere for a few people at least. I made a post about it shrug

      Also there’s a few posts on r/lemmy with others having this same problem too.

      • nutomic@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        You can ask them to check the browser console for errors. Or sign up somewhere else. Anyway we are getting at least a dozen signups per hour so it’s working for many.

      • szeraax@lemmy.dcrich.net
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        On my instance at least, spinning on click normally meant issue with email submission. But there wasn’t any good feedback like “failed to send email”

        • kai@beehaw.org
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          1 year ago

          No issue using the same email server and naming structure for signup on beehaw (as far as user email field data goes).

          Update: Yup just checked using a different email address and server.

  • Dessalines@lemmy.mlM
    link
    fedilink
    arrow-up
    17
    ·
    1 year ago

    Its a kludge, but in the time being you can also add a docker-compose restart in your server cron every day or few hours. Lemmy restarts are pretty seemless, as the websockets automatically reconnect.

    The next release will have websockets removed which should fix some of the stability and memory issues.

  • nick@campfyre.nickwebster.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I made a kubernetes deployment for my lemmy service + use object storage for image hosting. Everything lemmy-side looks like it should scale fine. I’m not doing open registrations though, so it won’t impact me. The key bottleneck in my case is the database, but if need be a larger node can be provisioned to let the DB expand a bit.

    I think for larger instances some form of server-abstraction will be useful for scaling (i.e. k8s, cloud run, EKS, etc.)