As far as I can tell, my instance is nowhere near max database connections. However, after about two hours, I always get errors like “WARN Error encountered while processing the incoming HTTP request: lemmy_server::root_span_builder: Timeout occurred while waiting for a slot to become available” if we’re under any load at all. Does anyone know what’s going on here? This doesn’t seem to be a resource use issue. It happens with the default docker configuration as shown in the docs. It happens if I spin up a test instance and generate a bunch of load, so it seems perfectly replicable.

Edit: The solution for me was building the docker images myself. Didn’t matter if I used the official releases from dockerhub, the development images, whatever. It still crashed with this error eventually. I’ve been up with the images I built myself for eight or so hours, and we seem fine.

  • Samuel Proulx@rblind.comOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    For other people experiencing this, in one case it was a failed SQL migration. Not the case for me, as that index already exists. Continuing to troubleshoot.