Hello !

I’m here again this time with a small report about the latest version 0.18.4.

When on Jarboa, and I go to the Inbox, the server starts spewing this same (except the request_id) warning I have attached at the end of the message.

Really fast too, like maybe 30 in under one second.

The inbox is thus really sluggish, but it does work, and interestingly it seems to get better over time (but I haven’t gotten any new messages).

HTH

Cheers

Loulou !


lemmy_1     | LemmyError { message: None, inner: Timeout occurred while waiting for a slot to become available, context: SpanTrace [{ target: "lemmy_apub::objects::community", name: "read_from_id", file: "crates/apub/src/objects/community.rs", line: 63 }, { target: "lemmy_apub::fetcher::user_or_community", name: "read_from_id", file: "crates/apub/src/fetcher/user_or_community.rs", line: 47 }, { target: "lemmy_server::root_span_builder", name: "HTTP request", fields: "http.method=POST http.scheme=\"http\" http.host=lemmy.mindoki.com http.target=/inbox otel.kind=\"server\" request_id=2345e316-e33b-47e8-839e-b2ede56806c9", file: "src/root_span_builder.rs", line: 16 }] }
lemmy_1     | 2023-08-09T17:36:43.700825Z  WARN lemmy_server::root_span_builder: Timeout occurred while waiting for a slot to become available
lemmy_1     |    0: lemmy_apub::objects::community::read_from_id
lemmy_1     |              at crates/apub/src/objects/community.rs:63
lemmy_1     |    1: lemmy_apub::fetcher::user_or_community::read_from_id
lemmy_1     |              at crates/apub/src/fetcher/user_or_community.rs:47
lemmy_1     |    2: lemmy_server::root_span_builder::HTTP request
lemmy_1     |            with http.method=POST http.scheme="http" http.host=lemmy.mindoki.com http.target=/inbox otel.kind="server" request_id=1df87179-4c62-4bf5-97a8-7ef19b5036b4
lemmy_1     |              at src/root_span_builder.rs:16



lemmy_1     | LemmyError { message: None, inner: Timeout occurred while waiting for a slot to become available, context: SpanTrace [{ target: "lemmy_apub::objects::community", name: "read_from_id", file: "crates/apub/src/objects/community.rs", line: 63 }, { target: "lemmy_apub::fetcher::user_or_community", name: "read_from_id", file: "crates/apub/src/fetcher/user_or_community.rs", line: 47 }, { target: "lemmy_server::root_span_builder", name: "HTTP request", fields: "http.method=POST http.scheme=\"http\" http.host=lemmy.mindoki.com http.target=/inbox otel.kind=\"server\" request_id=1df87179-4c62-4bf5-97a8-7ef19b5036b4", file: "src/root_span_builder.rs", line: 16 }] }
lemmy_1     | 2023-08-09T17:36:43.702747Z  WARN lemmy_server::root_span_builder: Timeout occurred while waiting for a slot to become available
lemmy_1     |    0: lemmy_apub::objects::community::read_from_id
lemmy_1     |              at crates/apub/src/objects/community.rs:63
lemmy_1     |    1: lemmy_apub::fetcher::user_or_community::read_from_id
lemmy_1     |              at crates/apub/src/fetcher/user_or_community.rs:47
lemmy_1     |    2: lemmy_server::root_span_builder::HTTP request
lemmy_1     |            with http.method=POST http.scheme="http" http.host=lemmy.mindoki.com http.target=/inbox otel.kind="server" request_id=5e2cbb23-ecc5-49cc-84a8-73d34fbd014d
lemmy_1     |              at src/root_span_builder.rs:16

  • Grouchy@lemmy.grouchysysadmin.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    It sets the maximum number of active sql connections Lemmy will use. Don’t set it higher than what your PostgreSQL server is able to handle.

    • Loulou@lemmy.mindoki.comOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I fiddled a bit with the Postgreslq config file (everything is way better now), but no where I saw a pool_size. Any pointers on where to find it ?

      Cheers !

        • Loulou@lemmy.mindoki.comOP
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 year ago

          lemmy.hjson ? I have nothing like it there, neither in the other configs (nginx, docker_compose, customPostgresql)… what’s your confing files name?

          Edit: I do run it in Docker containers, maybe there just isn’t that config variable?

            • Loulou@lemmy.mindoki.comOP
              link
              fedilink
              arrow-up
              1
              ·
              1 year ago

              My man, thank you for staying with me!

              If anyone stumbles upon this post and have the same problem ; the conf file you use if you follow the official Docker setup (lemmy.hjson) well, you get an example version with one of the wget commands. This file has the bare minimum config wise, so if you want to get the “full” one and get your hands dirty, download the sources (or go to the github and navigate like a pro) and it is here :

              where_you_downloaded_the_sources/lemmy-main/config/default.hjson

              Thanks again Grouchy!

              Cheers