-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
synapse gets stuck in a loop with Invalid prev_events for <event_id>
#11802
Comments
see 2b9f741 which is patches this on the matrix-org-hotfixes branch |
(dates back to #10390) |
A workaround is to for all users on the server to leave the room containing the events (or to use the delete room admin API to shut it down). |
Just applied this patch. |
I have this same issue, with being the log message. I also have been getting connection interrupts and obscene resource usage(100% CPU and maxing out 4GB mem). The logs were so constant that my server storage was filled up with a 153GB log file. I fixed this by making logging in How do I apply the patch mentioned by @richvdh? Sorry I haven't made any changes to synapse besides the installation and setting up email and turnserver. Any help would be greatly appreciated. |
@Redmauss There is probably a more graceful way to do this with
I did this on Debian 11 with the official Debian Synapse package 1.50.1 |
@Cknight70 worked like a charm! I am now using 245mb of RAM instead of over 3GB! My messages send reliably now and there are no connection dropouts. Thanks man, your writeup was super helpful. I am using Ubuntu Server 20.04, and I installed the official |
Fixed in #11806. The fix will be released in Synapse v1.50.2 and v1.51.0rc2. Thank you all for testing the patch 🙂 |
If inbound federation traffic backs up in a v1 room, synapse starts spamming the logs with messages like:
this means that rather than dropping excess traffic as it should, it ends up in a tight loop and fails to process incoming traffic from other sources.
The text was updated successfully, but these errors were encountered: