Are there any Discord servers or somewhere in the Matrix to chat about hosting a Lemmy instance? I’ve got Lemmy running, but I think there are several of us in the same boat struggling with federation performance issues and it might be good to have some place to chat real time.

  • NotoriousOP
    link
    fedilink
    English
    101 year ago

    My server is struggling with federation. Pretty much everything I see in the logs with debug turned on is this:

    2023-06-20T01:55:28.018419Z WARN Error encountered while processing the incoming HTTP request: lemmy_server::root_span_builder: Header is expired

    • @xebix
      link
      English
      91 year ago

      This is exactly what I am seeing. I just tried upping federation_worker_count in the postgres database. I saw someone in another thread mention trying that so we’ll see.

      • @[email protected]
        link
        fedilink
        English
        11 year ago

        Check that your server time is synced to an NTP server and accurate. Federation requires the correct time.

      • Jamie
        link
        fedilink
        English
        11 year ago

        That guy was me, and it seemed like it worked. Those errors were flooding in, and when I changed the workers to 1024+, they practically stopped except every few seconds, which may not even be my server’s fault.

    • Slashzero
      link
      fedilink
      English
      11 year ago

      There is an nginx setting you can tune as well. I believe it was worker threads? Can’t remember the exact one and too tired to ssh into my instance to check.

      • NotoriousOP
        link
        fedilink
        English
        1
        edit-2
        1 year ago

        This post says that the worker threads only effect outbound federation. I’m struggling with my instance not receiving anything inbound.

    • Jamie
      link
      fedilink
      English
      11 year ago

      Upping worker count significantly reduced those in my case. If Lemmy is maxing out your CPU too much though by chance, you may need to upgrade.