Inbox weirdness with 0.18.4
Inbox weirdness with 0.18.4
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
Sounds like you need to increase
pool_size: 5
to a higher number in your Lemmy configuration.3 0 ReplyThanks, seems like a reasonable idea!
I'm using the docker install, do I have to rebuild it, can't seem to find that parameter anywhere?
1 0 ReplyThe setting goes in your Lemmy configuration file. The same place as your database settings.
I don't use docker, so I'm not sure what you need to do there. Sorry.
1 0 Reply
What does that actually do? What's the consequence of setting it to 10,000?
1 0 ReplyIt 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.
2 0 Reply