Skip to content

mautrix-telegram completely obliterated my synapse instance #19305

@nappa85

Description

@nappa85

Description

I know this sounds like a support request, but I've already written in #synapse:matrix.org and they suggested me to open a bug anyway, and I really want to help triaging this problem.

As the title suggests, synapse container become literally unresponsive, it can't be killed, not even with SIGKILL, after I started bridging a quite huge telegram account. I was already successfully bridging some whatsapp and signal accounts.

Container cannot be inspected (command waits forever), and ps -o pid,stat,wchan,cmd -p <docker-pid> returns

  PID STAT WCHAN  CMD
17955 Ssl  futex_ /var/packages/ContainerManager/target/usr/bin/dockerd --config-file /var/packages/ContainerManager/etc/dockerd.json

All other containers in the machine are running without problems, machine is running with load average 0.95, the only problematic container is synapse.

Steps to reproduce

  • install synapse
  • install mautrix-telegram
  • bridge a beefy telegram account

Homeserver

nappa85.synology.me

Synapse Version

container latest sha-1bfcc9a

Installation Method

Docker (matrixdotorg/synapse)

Database

started from a clean postgres:15-alpine container

Workers

Single process

Platform

synapse and mautrix bridges are running in a docker compose inside a Synology NAS, so some things are a bit opaque or don't work exactly like a normal linux server

Configuration

no experimental or undocumented features, matrix has been installed less than one week ago and I was still getting to know the system

Relevant log output

I can't get logs from `docker logs <synapse-container>` (it simply waits forever, like trying to kill the container), but I can see logs from Synology container manager, but I'm not sure they're all, I suspect they probably stopped flowing at some point.

From the logs I can see, there are mainly postgres errors like 

synapse.storage.txn - 827 - WARNING - PUT-212 - [TXN OPERROR] {set_profile_avatar_url-20b} could not serialize access due to concurrent update

Anything else that would be useful to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions