[bug] Active processes get terminated by nimble_pool idle shutdown #880
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#880
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Your setup
From source
Extra details
Alpine 3.21
Version
current master (
74182abb5b
)PostgreSQL version
17
What’s up?
I’ve recently seen
/inbox
requests failing for the first time with several errors like the following being logged:This appears to be from a bug in finch causing the whole pool to get terminated when only some connections are idle. We use finch via Tesla for outgoing HTTP requests; in case of
/inbox
requests it was probably currently trying to fetch the remote pubkey for signature verification when the pool got terminated.The weird thing is neither nimble_pool nor finch were recently upgraded, perhaps its just coincidence it happened now but not before.
There’s an open PR in finch supposed to fix this, but it remains unmerged so far for lack of confirmation that it actually resolves this: https://github.com/sneako/finch/issues/292
If you can spot errors like this with any frequency in your logs, it’d be great if you could try out the finch patch so we can provide this confirmation or at least give feedback about it not being sufficient.
To use the patched version replace
{:finch, "~> 0.18.0"}
in yourmix.exs
with the following; thenmix deps.get
, recompile and restart.Severity
I can manage
Have you searched for this issue?