3 ms·
https://github.com/matrix-org/synapse#help-synapse-eats-all-my-ram https://github.com/matrix-org/synapse#help-synapse-eats-all-... I launch my instance like th
by neutral16 10y ago
https://github.com/matrix-org/synapse#help-synapse-eats-all-my-ram https://github.com/matrix-org/synapse#help-synapse-eats-all-...
I launch my instance like this:
SYNAPSE_CACHE_FACTOR=0.01 synctl restart /etc/matrix-synapse/homeserver.yaml
I run synapse on a machine with 1.5GB of total RAM and have had zero memory issues since limiting the memory usage with the above command.
- philsnow 10y agothanks for trying to help out. just checked, this is how I'm running it: while : ; do SYNAPSE_CACHE_FACTOR=0.01 python -B -m synapse.app.homeserver -c homeserver.yaml ; sleep 20 ; done I'm not even using runit or anything; I set it up like this several months ago and haven't bothered touching it since because it's been relatively solid and reliable. Even at a "cache factor" of 0.01, my tiny DO droplet is still swapping and eventually the homeserver gets OOM killed.