4 ms·
Yes, it's room/concersation states taking up all the space, and you can compress them. https://levans.fr/shrink-synapse-database.html https://levans.fr/shrink-
by COGlory 3y ago
Yes, it's room/concersation states taking up all the space, and you can compress them.
https://levans.fr/shrink-synapse-database.html https://levans.fr/shrink-synapse-database.html
https://github.com/matrix-org/rust-synapse-compress-state https://github.com/matrix-org/rust-synapse-compress-state
- lightedman 3y agoThat it generates that much cruft for something so simple is disappointing. How long does the compression bandaid work for?
- COGlory 3y agoFrom the first link: >I shrunk my homeserver database from 100GB to a little under 8GB, during a long maintenance cleanup. I run the compressor on a cron job. I've been running for 5 years with ~ a dozen people on my server, all federated, in multiple large rooms, didn't run into space issues until this year. On Linode $10 and then Hetzner 4 CPU. One thing to watch out for: disable registration. Otherwise spambots will register accounts, join the largest matrix.org rooms to spam, and then you'll have to store all that crap for all those rooms.
- jeltz 3y agoI feel registration is something which should come disabled by default and need to be explicitly enabled.
- anoa_ 3y ago[dead]
- nani8ot 3y agoAt least on Conduit and Dendrite that is the case iirc, but it's easy to forget to disable it once you register an account.
- COGlory 3y agoIt may be. I setup my server half a decade ago and don't remember exactly how I configured it initially. I may have enabled it not realizing the implications.