Due to this bug that results in the Hot listing not updating, I’ve scheduled lemmy to automatically restart every hour on the hour.

When this occurs you may receive 502 errors briefly.

  • Lodion 🇦🇺OPMA
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    Ok, this is now scheduled to occur hourly, on the hour. Will cause a few seconds of 502s while lemmy is restarted.

    • hikarulsi
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      what is the instance running on at the moment? perhaps it might be helpful to have some load balancing fronting the instance

      • Lodion 🇦🇺OPMA
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        1 year ago

        Details on the server stuff is over here.
        This issue isn’t load related, simply a bug. Load balancing wouldn’t help in this case.

        • hikarulsi
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          thank you for the information

          let us know the error/warning message, let’s see if anyone happen to have the knowledge. Remember to redact some key info

          • Lodion 🇦🇺OPMA
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            If you get the error, it will literally be “502 error” on a plain white page. Chances are unless you’ve just clicked a link or hit reply/submit, you’ll never see it.

            • hikarulsi
              link
              fedilink
              arrow-up
              2
              ·
              1 year ago

              The likely reason would be server overload, haven’t look into the lemmy stack. Perhaps monitor cpu, ram and cache usage (if any) to see if there is any correlations to the 502s

              • Lodion 🇦🇺OPMA
                link
                fedilink
                arrow-up
                2
                ·
                1 year ago

                No… 502 is due to me restarting the lemmy process, due to the known bug I linked.

                • hikarulsi
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  1 year ago

                  understood, i guess it is up to the dev or pull request to fix it for now