This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
in-memory federation transaction transmission queues build up indefinitely for offline servers #7828
Labels
A-Performance
Performance, both client-facing and admin-facing
Comments
I suspect this was introduced way back in #2064. I think we just need to clear the in-memory queues when handling a blacklisted server in |
I'm chucking this into the todo list as it appears an obvious precursor to #2528. |
erikjohnston
added
maintenance
A-Performance
Performance, both client-facing and admin-facing
labels
Jul 13, 2020
reivilibre
added a commit
to matrix-org/sygnal
that referenced
this issue
Jul 14, 2020
this morning: More Sygnal#130 (HTTP proxy) rework, I'm feeling it straightening out a lot so hopefully it'll be back in the queue soon; today: 'More of that'; Catch up on #2528 and #7828 which Riiich has suggested solving first Github matrix-org/synapse#2528 : Homeservers don't catch up with missed traffic until someone sends another event matrix-org/synapse#7828 : in-memory federation transaction transmission queues build up indefinitely for offline servers
reivilibre
added a commit
that referenced
this issue
Jul 16, 2020
Fixes #7828. Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
4 tasks
Will land this in a less aggressive way, but will make more aggressive when #2528 is solved because it will be safe to do so. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
when a server is offline, any events that we would have sent to it stack up in memory indefinitely.
See, for example, this graph for matrix.org:
Apart from the memory usage concerns, this means that if a server goes offline for 1000 events, then when it comes back we will try to send it all those 1000 events in turn, rather than just sending it the most recent ones in a room.
The text was updated successfully, but these errors were encountered: