Please help. I run server on 2GB VPS at OVHcloud for 6 month. Synapse default config eat ram like hungry dog. I tweak postgresql, add workers, tune cache_factor to 0.02. Federation work. But log grow 40GB in week, federation sender crash every night, I wake up to 500 error.
I write guide for poor soul who want suffer same path:
- Use postgresql not sqlite
- Set limit_federation_concurrency to 10 or die
- Split workers: federation_reader, synchrotron, event_persister
- Log rotate daily with cron or disk go brrr
- Accept ram will spike at 1.9GB and pray OOM-killer kind
Server still cry at night. Federation work. My sanity does not.
Anyone make this work on smaller box?