Closed gouthamravee closed 1 year ago
This was discussed in the matrix room last night:
The Ghost of Riccarton: is there some sort of memory leak in current synapse The Ghost of Riccarton: yes there must be The Ghost of Riccarton: im watching my ram usage go up quicker than it ever should doing basically nothing The Ghost of Riccarton: while more homeserver processes are spawned zbrown: Anyone else's synapse using a lot more CPU since the upgrade to synapse 1.89? I haven’t federated any new rooms and I went from <15% cpu to around 50-70% AkDk7: Maybe it that problem: There is a bug in 1.89 with the presence feature (https://github.com/matrix-org/synapse/issues/16057). If you have presence activated this can lead to massive calls from Element to the server. Workaround is to deactivate presence until the bug has been resolved. Iruwen: tl;dr a recent Element update broke the presence feature and everything's drowning in sync requests, both clients and servers. If you have presence enabled, disable that. Iruwen: https://github.com/matrix-org/synapse/issues/16039 Iruwen: https://github.com/matrix-org/synapse/issues/16057
@altsalt Thank you! I stumbled into that solution too, disabled presence after creating this post and so far things seem stable.
That's the solution for now.
This was discussed in the matrix room last night:
The Ghost of Riccarton: is there some sort of memory leak in current synapse The Ghost of Riccarton: yes there must be The Ghost of Riccarton: im watching my ram usage go up quicker than it ever should doing basically nothing The Ghost of Riccarton: while more homeserver processes are spawned zbrown: Anyone else's synapse using a lot more CPU since the upgrade to synapse 1.89? I haven’t federated any new rooms and I went from <15% cpu to around 50-70% AkDk7: Maybe it that problem: There is a bug in 1.89 with the presence feature (matrix-org/synapse#16057). If you have presence activated this can lead to massive calls from Element to the server. Workaround is to deactivate presence until the bug has been resolved. Iruwen: tl;dr a recent Element update broke the presence feature and everything's drowning in sync requests, both clients and servers. If you have presence enabled, disable that. Iruwen: matrix-org/synapse#16039 Iruwen: matrix-org/synapse#16057
For the record for anyone reading this in the future, my problem there (i am ghost of riccarton in those logs) has nothing to do with what this issue is about
Playbook Configuration:
My
vars.yml
file looks like this:Matrix Server:
Problem description:
The VM for the playbook is running in proxmox, has 8 cores and 6GB of ram For the past week the VM has been locking up with 100% cpu usage for many minutes, sometimes it won't come back online until I restart the VM.
I'm not seeing what is causing the high CPU usage, it seems like docker but I can't pinpoint to what specific container from the playbook.
Other VMs on the same proxmox host are working fine.
I'm seeing the message below in the systemd journal
Additional context Add any other context about the problem here.