Synapse 1.44.0 hangs up every few minutes #11049
Description
Description
Ever since updating to 1.44.0 from 1.43.0, I've experienced frequent hanging from Synapse that lasts 10 seconds to 3 minutes. During this "hanging" period all requests (including client api, federation, static web page, etc) time out, with the rare request getting a response after a few seconds. It does not starve server resources at all, though it causes large Synapse CPU usage spikes up to 50% (average usage is around 5%). While this issue is not taking place, the homeserver performs well even in larger federated rooms.
Steps to reproduce
- Let a device in a few large federated rooms do an initial sync or wait a few minutes
- Homeserver freezes up for a little bit
I expect the server to not freeze up and perform normally like it does when this issue does not happen. The occasional errors I get when this happens are just a byproduct of a connection to a client timing out unexpectedly. Looking at Grafana, it all correlates to large spikes in the federation transmission loop.
Version information
- Homeserver: jepcraft.ddns.net:443
- Version: Synapse 1.44.0
- Install method: latest
matrixdotorg/synapse
Docker build - No separate Synapse workers
- Uses both IPv4 and IPv6
- Platform:
- Debian GNU/Linux 10 (buster) x86_64
- Physical server that runs applications in Docker