matrix-org / synapse

Synapse: Matrix homeserver written in Python/Twisted.
https://matrix-org.github.io/synapse
Apache License 2.0
11.82k stars 2.13k forks source link

Clients repeatedly losing connection for up to a minute #12547

Closed prurigro closed 2 years ago

prurigro commented 2 years ago

Apologies if this isn't actually a bug, but my server had been running well until updating a couple of weeks ago. Unfortunately I didn't catch the exact version as I was travelling and didn't notice the issue between a number of updates.

Description

Throughout the day, clients will show a message saying that they can't connect to the server for ~30 seconds to a minute. Every time I've checked the current log to see what's up it's shown the following:

synapse.metrics._gc - 120 - INFO - sentinel - Collecting gc 1
synapse.metrics._gc - 120 - INFO - sentinel - Collecting gc 2

Steps to reproduce

I've noticed that synapse.metrics._gc - 120 - INFO - sentinel - Collecting gc 1 will appear in the logs on its own and I won't have any connectivity issues when that happens.

Version information

I could probably provide more information about behaviour if I know what I'm looking for.

Thanks for your time and for all the work on this project!