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
    arrow-up
    3
    ·
    1 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@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 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.

    • Slashzero@hakbox.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 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
        arrow-up
        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@jamie.moe
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 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.