Certain outbound requests seem to queue up #259
Labels
No labels
approved, awaiting change
broken setup
bug
cannot reproduce
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs change/feedback
needs docs
needs tests
not a bug
not our bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AkkomaGang/akkoma#259
Loading…
Add table
Add a link
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?
Anecdotally, I've noticed certain requests would block other (unrelated) requests
Examples:
Appreciate any pointers to help identify the root cause, and possible tweaks/improvements.
p.s. Instance is running outbound HTTP proxy (
tinyproxy), Media proxy,MediaProxyWarmingPolicyand the associated nginx caching as described here: https://docs.akkoma.dev/stable/configuration/storing_remote_media/Attached the current Job Queue settings for reference:
yeah, HTTP uses a pool setup - it should allow 50 outbound requests at any one time by default
are you consistently hitting this limit?
@floatingghost would hitting limit trigger some form of logs?
iinm it intetionally waits a while after federating the follow request to check if the remote already replied (in case follows are not restricted and automatically approved), so the HTTP response can report back with an
accepted/deniedinstead of justpendingstatus. There might be some config setting to control the wait duration.Not sure if Finch logs anything about that on default logging levels (it presumably does with
debug), but you can just check Prometheus metrics to see how many outgoing requests your instance generates and the Oban Web dashboard to see if any queue is overloaded and has consistently many jobs in the backlog. If needed, more detailed instructions on those metrics can be found here atm: #966EDIT: oh wait, just noticed this was from two years ago, is this even still an issue?
EDIT 2: you can now also track the amount of queued up jobs in Prometheus stats; see: monitoring docs