Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

synapse 1.47 big jump in load due to remove_hidden_devices_from_device_inbox #11401

Closed
@skepticalwaves

Description

@skepticalwaves

Edit: Tracking expected mitigations in:

See discussion below for context


Description

After upgrading to synapse-1.47, via https://github.com/spantaleev/matrix-docker-ansible-deploy, my server experienced a huge increase in both CPU and IO load.

Upon examining the synapse prometheus/grafana stats, I found the following entires:

A large increase in master_0_background_updates in DB transactions
Screenshot_20211119_151116

And in particular, master-0_remove_hidden_device_from_inbox
image

It may be related, that the HTTP pusher distribution also changed oddly:
image

Steps to reproduce

  • upgraded from 1.46 to 1.47

Version information

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-MajorMajor functionality / product severely impaired, no satisfactory workaround.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.X-Release-BlockerMust be resolved before making a release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions