You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Synchrotron workers are maxing out db connections, resulting in multi-minute scheduling time:
Inspection shows that these are operations of the shape
DELETEFROM device_inbox WHERE ctid IN (
SELECT ctid FROM device_inbox
WHERE user_id ='@<user_id>'AND device_id ='LTHNOYWSMJ'AND stream_id <=7526430LIMIT100
)
Some queries have LIMIT 1000 rather than LIMIT 100.
Description
Synchrotron workers are maxing out db connections, resulting in multi-minute scheduling time:
Inspection shows that these are operations of the shape
Some queries have
LIMIT 1000rather thanLIMIT 100.Steps to reproduce
device_inbox/syncHomeserver
EMS host
Synapse Version
1.94.0
Installation Method
Docker (matrixdotorg/synapse)
Database
postgres 11
Workers
Multiple workers
Platform
k8s
Configuration
No response
Relevant log output
Anything else that would be useful to know?
No response