mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
The previous thresholds were set based on the assumption that 50% of the memory on the host was taken up by Django and friends, leaving only 50% for the database host. On separate database hosts, this leads to a too-small default value for shared_buffers, which is generally suggested to be 25% of your database-dedicated memory. Check if there is a `zulip::app_frontend_base` as part of the deploy, and use that to adjust if we halve `$zulip::common::total_memory_mb` or not for purposes of calculating PostgreSQL memory settings. We also provide a `postgresql.memory` override, if necessary.