-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Synapse pegs cpu at 100% and disconnects all clients #6118
Comments
ugh. That sounds a lot like #4240, which we never really got to the bottom of. |
Indeed. I read that with interest. I'm wondering if there is a way I can help debug it, but this may be problematic because I build synapse through FreeBSD ports. Still, I'm the one who builds it directly (I don't use FreeBSD's official package repos) so...I'm willing to help at any rate! :D |
Same problem here, compiled from ports, only change was I added urlpreview to the makefile. Happens about once a day, for now I'll just write a script to restart if CPU hits 100 ... |
The first thing to check is that Synapse is up-to-date and that the logging config is up-to-date with the Synapse repo since there were some fixes in this area. |
Good catch, although I am running v1.26.0
The lockup happened roughly around midnight system UTC time, and I was writing logs to /dev/null. To test this, what values can I substitute for Is there a more eloquent way to disable logging? |
I can't really recommend doing that, but removing all handlers will probably do that. |
Given the lack of follow-up here, I'm going to assume the issue is fixed. |
Description
Two days in a row I have gone to read the room history for rooms I am interested in and suddenly synapse will disconnect all clients and spin 100%, filling up log files with lots of stack trace and error messages. I have attempted to extract the meaningful bits here but of course there's a big wall of log text that I may have missed:
I should also mention I have
encoding: utf8
in mylog.config
.Steps to reproduce
Version information
matrix.jetcafe.org
FreeBSD ports
FreeBSD 11.3 r349638, dedicated bare metal. I'm the package builder for this server so feel free to ask any questions.
The text was updated successfully, but these errors were encountered: