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.

Crash on startup (1.14.0) #7610

@karthanistyr

Description

@karthanistyr

Description

Restarting synapse runs the risk of crashing.

I run a daily stop-backup-restart routine, but since upgrading to 1.14.0, there have been infrequent occurrences of crashes after attempting to restart (logs attached in gist).

Steps to reproduce

  • stop the server (e.g. stop the docker compose stack, in my case)
  • wait for some time (my backup routine lasts for 45 mins)
  • restart server (restart the docker compose stack)

It's worth noting that using docker-compose, the containers themselves are scrapped when stopped and new ones are spun up on restart, reattaching volumes containing persistent data.

It had been running like this for more than two years (dating back to the 0.27.x series), and it's the first time something like this happens to my server.

It looks like some form of race condition as it is infrequent and I can usually restart the container as would the daily backup script and it starts up fine.

Version information

  • Homeserver: draak.fr
  • Version: 1.14.0
  • Install method: Docker image
  • Platform: debian linux 10.3
  • Hardware: small 4-core 8 GB VPS

Metadata

Metadata

Assignees

Labels

z-bug(Deprecated Label)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions